aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-29 02:12:46 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-29 02:12:46 +0100
commit220341b40642771f9b5db97296edfb1913182464 (patch)
treeb773f9cdbc58df963a024639da5a89673147188c /app/views
parent96bdbafceac44af2159e6b80d3d403e0608991d9 (diff)
Implémente sélecteur de méthode d’authentification
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
Diffstat (limited to 'app/views')
-rw-r--r--app/views/configure/users.phtml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtml
index 4fd291ba3..7e8edf9af 100644
--- a/app/views/configure/users.phtml
+++ b/app/views/configure/users.phtml
@@ -60,11 +60,10 @@
<label class="group-name" for="auth_type"><?php echo Minz_Translate::t('auth_type'); ?></label>
<div class="group-controls">
<select id="auth_type" name="auth_type">
- <option value="none">None (dangerous)</option>
- <option value="http_auth">HTTP Auth</option>
- <option value="persona">Mozilla Persona</option>
+ <option value="none"<?php echo Minz_Configuration::authType() === 'none' ? ' selected="selected"' : ''; ?>>None (dangerous)</option>
+ <option value="http_auth"<?php echo Minz_Configuration::authType() === 'http_auth' ? ' selected="selected"' : ''; ?>>HTTP Auth</option>
+ <option value="persona"<?php echo Minz_Configuration::authType() === 'persona' ? ' selected="selected"' : ''; ?>>Mozilla Persona</option>
</select>
- (selector not implemented yet)
</div>
</div>