TanmoySG / wunder-identity-provider

ID Provider for Wunder Platform. Authentication & Authorization Server for all wunder products
3 stars 0 forks source link

[Maintenance] Use of Proper Return Statements #41

Closed TanmoySG closed 2 years ago

TanmoySG commented 2 years ago

Use proper return statements and methods instead of using random messages.

[Checkpoints]

[Snippets]

Change these

 # in requestHandler.py
return "Incorrect OTP", {}

if verification_mail not in authlib.keys():
    return "Return something" # Change Later

[Additional Information]

Track where changes are required. (Add snippet if applicable)