diff options
Diffstat (limited to 'app/views/auth')
| -rw-r--r-- | app/views/auth/formLogin.phtml | 2 | ||||
| -rw-r--r-- | app/views/auth/index.phtml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml index 24427193d..658adc912 100644 --- a/app/views/auth/formLogin.phtml +++ b/app/views/auth/formLogin.phtml @@ -5,7 +5,7 @@ <main class="prompt"> <h1><?= _t('gen.auth.login') ?></h1> - <?php if (!max_registrations_reached()) { ?> + <?php if (!FreshRSS_user_Controller::max_registrations_reached()) { ?> <div class="link-registration"> <a href="<?= _url('auth', 'register') ?>"><?= _t('gen.auth.registration.ask') ?></a> </div> diff --git a/app/views/auth/index.phtml b/app/views/auth/index.phtml index a0aa28256..f11d29ae4 100644 --- a/app/views/auth/index.phtml +++ b/app/views/auth/index.phtml @@ -16,9 +16,9 @@ <option selected="selected"></option> <?php } ?> <option value="form"<?= FreshRSS_Context::systemConf()->auth_type === 'form' ? ' selected="selected"' : '', - cryptAvailable() ? '' : ' disabled="disabled"' ?>><?= _t('admin.auth.form') ?></option> + FreshRSS_password_Util::cryptAvailable() ? '' : ' disabled="disabled"' ?>><?= _t('admin.auth.form') ?></option> <option value="http_auth"<?= FreshRSS_Context::systemConf()->auth_type === 'http_auth' ? ' selected="selected"' : '' ?>> - <?= _t('admin.auth.http') ?> (REMOTE_USER = '<?= httpAuthUser() ?>')</option> + <?= _t('admin.auth.http') ?> (REMOTE_USER = '<?= FreshRSS_http_Util::httpAuthUser() ?>')</option> <option value="none"<?= FreshRSS_Context::systemConf()->auth_type === 'none' ? ' selected="selected"' : '' ?>><?= _t('admin.auth.none') ?></option> </select> </div> |
