diff options
| author | 2014-09-18 15:40:23 +0200 | |
|---|---|---|
| committer | 2014-09-18 15:40:23 +0200 | |
| commit | 70df99c1fcd88b30a6a9d71954af1e31dfade489 (patch) | |
| tree | dca2a3c6e87acab924554ceb423c46ee837a8ac7 | |
| parent | 94915f1c0a477c240e6072b6ccc2f71152181510 (diff) | |
Add a link on Persona page to reset auth system
See https://github.com/marienfressinaud/FreshRSS/issues/521
| -rw-r--r-- | app/i18n/en.php | 1 | ||||
| -rw-r--r-- | app/i18n/fr.php | 1 | ||||
| -rw-r--r-- | app/views/index/formLogin.phtml | 11 |
3 files changed, 11 insertions, 2 deletions
diff --git a/app/i18n/en.php b/app/i18n/en.php index 11edc603f..a012783a3 100644 --- a/app/i18n/en.php +++ b/app/i18n/en.php @@ -5,6 +5,7 @@ return array ( 'login' => 'Login', 'keep_logged_in' => 'Keep me logged in <small>(1 month)</small>', 'login_with_persona' => 'Login with Persona', + 'login_persona_problem' => 'Problem of connection with Persona?', 'logout' => 'Logout', 'search' => 'Search words or #tags', 'search_short' => 'Search', diff --git a/app/i18n/fr.php b/app/i18n/fr.php index 279cb89fa..8ea81c906 100644 --- a/app/i18n/fr.php +++ b/app/i18n/fr.php @@ -5,6 +5,7 @@ return array ( 'login' => 'Connexion', 'keep_logged_in' => 'Rester connecté <small>(1 mois)</small>', 'login_with_persona' => 'Connexion avec Persona', + 'login_persona_problem' => 'Problème de connexion à Persona ?', 'logout' => 'Déconnexion', 'search' => 'Rechercher des mots ou des #tags', 'search_short' => 'Rechercher', diff --git a/app/views/index/formLogin.phtml b/app/views/index/formLogin.phtml index 34f10de4a..b05cdced4 100644 --- a/app/views/index/formLogin.phtml +++ b/app/views/index/formLogin.phtml @@ -29,8 +29,15 @@ case 'persona': ?><p> - <?php echo _i('login'); ?> - <a class="signin" href="#"><?php echo _t('login_with_persona'); ?></a> + <a class="signin btn btn-important" href="#"> + <?php echo _i('login'); ?> + <?php echo _t('login_with_persona'); ?> + </a><br /><br /> + + <?php echo _i('help'); ?> + <small> + <a href="<?php echo _url('index', 'resetAuth'); ?>"><?php echo _t('login_persona_problem'); ?></a> + </small> </p><?php break; } ?> |
