mirror of
https://github.com/lorsanstand/Aether.git
synced 2026-06-19 12:05:16 +03:00
add frontend and change password
This commit is contained in:
@@ -14,3 +14,5 @@ class TokenExpiredException(HTTPException):
|
||||
class InvalidCredentialsException(HTTPException):
|
||||
def __init__(self):
|
||||
super().__init__(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid username or password")
|
||||
|
||||
UserNotFoundException = HTTPException(status.HTTP_404_NOT_FOUND, detail="User not found")
|
||||
Reference in New Issue
Block a user