mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Fix wrong exception check on login page
This commit is contained in:
parent
1d764008ed
commit
f8b817c4e1
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ try{
|
|||
header('Location: ' . $session->Url);
|
||||
}
|
||||
}
|
||||
catch(Exceptions\InvalidLoginException $ex){
|
||||
catch(Exceptions\AppException $ex){
|
||||
if($requestType == WEB){
|
||||
$_SESSION['email'] = $email;
|
||||
$_SESSION['redirect'] = $redirect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue