@@ -169,8 +169,7 @@ |
||
| 169 | 169 | $auth = auth_identifier_login($row['login'], $oubli); |
| 170 | 170 | if (!is_array($auth)) { |
| 171 | 171 | spip_log("Erreur identification ".$row['login']." après changement de mot de passe: $auth", _LOG_ERREUR); |
| 172 | - } |
|
| 173 | - elseif ($auth['id_auteur'] == $id_auteur) { |
|
| 172 | + } elseif ($auth['id_auteur'] == $id_auteur) { |
|
| 174 | 173 | auth_loger($auth); |
| 175 | 174 | } |
| 176 | 175 | } |
@@ -118,11 +118,9 @@ |
||
| 118 | 118 | |
| 119 | 119 | if ($statut and test_espace_prive()) { |
| 120 | 120 | $footer = bouton_action(_T('public:accueil_site'), generer_url_ecrire('accueil')); |
| 121 | - } |
|
| 122 | - elseif (!empty($_COOKIE['spip_admin'])) { |
|
| 121 | + } elseif (!empty($_COOKIE['spip_admin'])) { |
|
| 123 | 122 | $footer = bouton_action(_T('public:lien_connecter'), generer_url_public('login')); |
| 124 | - } |
|
| 125 | - else { |
|
| 123 | + } else { |
|
| 126 | 124 | $footer = bouton_action(_T('public:accueil_site'), $GLOBALS['meta']['adresse_site']); |
| 127 | 125 | } |
| 128 | 126 | |