@@ -80,7 +80,7 @@ |
||
| 80 | 80 | if (!is_array($id_ou_options)) { |
| 81 | 81 | $options = ['id' => intval($id_ou_options)]; |
| 82 | 82 | $id = $options['id']; |
| 83 | - }else { |
|
| 83 | + } else { |
|
| 84 | 84 | $options = $id_ou_options; |
| 85 | 85 | $id = (int) ($id_ou_options['id'] ?? 0); |
| 86 | 86 | } |
@@ -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 | } |