mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 10:29:20 +02:00
See #1039: resend confirmation email on login if email is unverified
This commit is contained in:
parent
372bd4a6ee
commit
b07bd83fa1
9 changed files with 82 additions and 11 deletions
|
@ -1,8 +1,11 @@
|
|||
from rest_framework_jwt import views as jwt_views
|
||||
|
||||
from . import serializers
|
||||
|
||||
|
||||
class ObtainJSONWebToken(jwt_views.ObtainJSONWebToken):
|
||||
throttling_scopes = {"*": {"anonymous": "jwt-login", "authenticated": "jwt-login"}}
|
||||
serializer_class = serializers.JSONWebTokenSerializer
|
||||
|
||||
|
||||
class RefreshJSONWebToken(jwt_views.RefreshJSONWebToken):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue