File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -49,20 +49,3 @@ Configuration
49
49
- **OLD_PASSWORD_FIELD_ENABLED ** - set it to True if you want to have old password verification on password change enpoint (default: False)
50
50
51
51
- **LOGOUT_ON_PASSWORD_CHANGE ** - set to False if you want to keep the current user logged in after a password change
52
-
53
-
54
- Throttling
55
- =============
56
-
57
- You may specify custom throttling for ``rest_auth.register.views.RegisterView `` by specifying DRF settings:
58
-
59
- .. code-block :: python
60
-
61
- REST_FRAMEWORK = {
62
- ' DEFAULT_THROTTLE_RATES' : {
63
- ' anon' : ' 6/m' ,
64
- ' register_view' :' 1/h' ,
65
- },
66
- }
67
-
68
-
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ class RegisterView(CreateAPIView):
28
28
serializer_class = RegisterSerializer
29
29
permission_classes = (AllowAny , )
30
30
token_model = TokenModel
31
- throttle_scope = 'register_view'
32
31
33
32
def get_response_data (self , user ):
34
33
if allauth_settings .EMAIL_VERIFICATION == \
You can’t perform that action at this time.
0 commit comments