Skip to content

Commit b644913

Browse files
Update errors.py
deleting the error exception to use TransferOwnershipAccessDenied
1 parent ceea086 commit b644913

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/apps/authentication/errors.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ class EmailDoesNotExist(AccessDeniedError):
3333
class InvalidCredentials(AccessDeniedError):
3434
message = _("Incorrect email or password")
3535
status_code = status.HTTP_401_UNAUTHORIZED
36-
37-
class AccessDenied(AccessDeniedError):
38-
message = _("Access denied to create transfer ownership request for the applet.")
39-
status_code = status.HTTP_403_FORBIDDEN

0 commit comments

Comments
 (0)