Update authentication.php
Update the session username if authorized is true.
This commit is contained in:
parent
8521f5100c
commit
7c99289243
|
|
@ -91,6 +91,7 @@ class authentication {
|
|||
$result['results'][] = $array;
|
||||
}
|
||||
if ($result["authorized"] == "true") {
|
||||
$_SESSION['username'] = $result["username"];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue