Reauth endpoint
This commit is contained in:
@@ -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