Fix logic error when logging in with HTTP auth

This commit is contained in:
Alex Cabal 2024-11-11 20:17:11 -06:00
parent f8d73ebaf1
commit c55cfb2875

View file

@ -86,7 +86,6 @@ if(Session::$User === null){
// Most patrons have a `null` password, meaning they only need to log in using an email and a blank password. // Most patrons have a `null` password, meaning they only need to log in using an email and a blank password.
// Some users with admin rights need a password to log in. // Some users with admin rights need a password to log in.
$session->Create($httpBasicAuthLogin, $password); $session->Create($httpBasicAuthLogin, $password);
Session::$User = $session->User;
} }
catch(Exception){ catch(Exception){
// Do nothing. // Do nothing.