Reauth endpoint
This commit is contained in:
1 parent
7723dd0722
commit
9828ee762a
9 files changed
+201
-26
No files matched your search
@@ -33,7 +33,7 @@ class Login extends Api
|
||||
case "NotFound":
|
||||
throw ApiError::notFound("user");
|
||||
case "Invalid":
|
||||
throw ApiError::unauthorized("Invalid username or password");
|
||||
throw ApiError::notAllowed("Invalid username or password");
|
||||
default:
|
||||
throw $err;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user