Skip to content

Commit e81ed71

Browse files
committed
Add verification e-mail sent message
#240
1 parent a673db8 commit e81ed71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_auth/registration/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class RegisterView(CreateAPIView):
3232
def get_response_data(self, user):
3333
if allauth_settings.EMAIL_VERIFICATION == \
3434
allauth_settings.EmailVerificationMethod.MANDATORY:
35-
return {}
35+
return {"detail": _("Verification e-mail sent")}
3636

3737
if getattr(settings, 'REST_USE_JWT', False):
3838
data = {

0 commit comments

Comments
 (0)