Skip to content

Commit

Permalink
Verify users registered through NGO Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Oct 3, 2024
1 parent 8226dc5 commit bf05b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/redirectioneaza/social_adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def save_user(self, request: HttpRequest, sociallogin: SocialLogin, form=None) -

user: UserModel = super().save_user(request, sociallogin, form)
user.is_ngohub_user = True
user.verify_email = True
user.is_verified = True
user.save()

common_user_init(sociallogin=sociallogin)
Expand Down

0 comments on commit bf05b24

Please sign in to comment.