Login: Restore authentication failed message.

This commit is contained in:
fusionate
2023-06-17 23:16:39 +00:00
parent 8393701d13
commit 3021f59431
6 changed files with 84 additions and 30 deletions

View File

@@ -53,7 +53,7 @@ class authentication {
foreach ($_SESSION['authentication']['methods'] as $name) {
//already processed the plugin move to the next plugin
if ($_SESSION['authentication']['plugin'][$name]['authorized']) {
if (!empty($_SESSION['authentication']['plugin']) && $_SESSION['authentication']['plugin'][$name]['authorized']) {
continue;
}