diff options
| author | 2013-12-28 01:24:54 +0100 | |
|---|---|---|
| committer | 2013-12-28 01:24:54 +0100 | |
| commit | 45b2decce03e218fe7ad66479491123ce398ab1f (patch) | |
| tree | 418b35c5907569318eb209b24f01a03b0f86627d /app | |
| parent | 0842be443489690e50636b55aaceac6534645538 (diff) | |
HTTP Auth user
https://github.com/marienfressinaud/FreshRSS/issues/126
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/configure/users.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtml index 3640a2ff4..40cce590e 100644 --- a/app/views/configure/users.phtml +++ b/app/views/configure/users.phtml @@ -10,7 +10,7 @@ <label class="group-name" for="current_user"><?php echo Minz_Translate::t('current_user'); ?></label> <div class="group-controls"> <input id="current_user" type="text" disabled="disabled" value="<?php echo Minz_Configuration::currentUser(); ?>" /> - <code>$_SERVER['REMOTE_USER'] = <?php echo isset($_SERVER['REMOTE_USER']) ? $_SERVER['REMOTE_USER'] : ''; ?></code> + <code>$_SERVER['REMOTE_USER'] = <?php echo httpAuthUser(); ?></code> <label class="checkbox" for="is_admin"> <input type="checkbox" id="is_admin" disabled="disabled"<?php echo Minz_Configuration::isAdmin() ? ' checked="checked"' : ''; ?> /> <?php echo Minz_Translate::t('is_admin'); ?> @@ -61,7 +61,7 @@ <div class="group-controls"> <select id="auth_type" name="auth_type"> <option value="none">None (dangerous)</option> - <option value="http_auth">HTTP Auth ($_SERVER['REMOTE_USER'])</option> + <option value="http_auth">HTTP Auth</option> <option value="persona">Mozilla Persona</option> </select> (selector not implemented yet) |
