mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
Fix logic error when logging in with HTTP auth
This commit is contained in:
parent
f8d73ebaf1
commit
c55cfb2875
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
// Some users with admin rights need a password to log in.
|
||||
$session->Create($httpBasicAuthLogin, $password);
|
||||
Session::$User = $session->User;
|
||||
}
|
||||
catch(Exception){
|
||||
// Do nothing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue