mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Type tweaks for exceptions and some validation
This commit is contained in:
parent
5b3f8f7b77
commit
7eaa400ae3
13 changed files with 49 additions and 37 deletions
|
@ -33,8 +33,7 @@ try{
|
|||
header('Location: ' . $session->Url);
|
||||
}
|
||||
}
|
||||
catch(Exceptions\AppException $ex){
|
||||
// Login failed
|
||||
catch(Exceptions\InvalidLoginException $ex){
|
||||
if($requestType == WEB){
|
||||
$_SESSION['email'] = $email;
|
||||
$_SESSION['redirect'] = $redirect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue