Tivix / django-rest-auth

This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
www.tivix.com
MIT License
2.4k stars 662 forks source link

VerifyEmailView is not browsable #558

Closed piotrsroka closed 3 years ago

piotrsroka commented 5 years ago

Accessing rest_verify_email endpoint via GET throws an error:

KeyError at /api/auth/registration/verify-email/
    'key'

It seem's that this bug excists since: c81b05b67dc2cd4bca20290ee3f004c6

Following method was removed from a class in rest_auth/registration/views.py:

def get(self, *args, **kwargs):
    raise MethodNotAllowed('GET')

django-rest-auth==0.9.5 django==2.2.3 djangorestframework==3.9.4