Skip to content

Commit

Permalink
remove unnecessary return types
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Sep 21, 2023
1 parent 792fa71 commit 9131425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/api/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def clean(self):

return self.cleaned_data

def get_invalid_login_error_message(self) -> str:
def get_invalid_login_error_message(self):
raise NotImplementedError()


Expand All @@ -48,7 +48,7 @@ class OtpAuthForm(BaseAuthForm):
],
)

def get_invalid_login_error_message(self) -> str:
def get_invalid_login_error_message(self):
return "Please enter the correct one-time password."


Expand Down

0 comments on commit 9131425

Please sign in to comment.