Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsam committed Oct 17, 2024
1 parent 46a7842 commit 9ff8b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sefaria/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def process_register_form(request, auth_method='session'):
elif auth_method == 'jwt':
token_dict = TokenObtainPairSerializer().validate({"username": form.cleaned_data['email'], "password": form.cleaned_data['password1']})
else:
print(">>>>>>>>>>>>>>>>>>>>>>>>>> not value", form.cleaned_data['user_type'])
print(">>>>>>>>>>>>>>>>>>>>>>>>>> not value>>>>>>>>>>>>>>>>>>>>>>>>>", form.errors)
return {
k: v[0] if len(v) > 0 else str(v) for k, v in list(form.errors.items())
}, token_dict, form
Expand Down

0 comments on commit 9ff8b6a

Please sign in to comment.