Skip to content

Commit

Permalink
Merge pull request #154 from ImMin5/master
Browse files Browse the repository at this point in the history
Fix update external user state error
  • Loading branch information
ImMin5 authored Jan 1, 2024
2 parents 6329032 + e8bef1a commit 608c61b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ def authenticate(self, domain_id: str, **kwargs):

self.is_authenticated = True

if self.user.state == "PENDING":
self.user: User = self.user.update({"state": "ENABLED"})

def _verify_user_from_plugin_user_info(
self, auth_user_info: dict, domain_id: str, auto_user_sync: bool = False
) -> None:
Expand Down

0 comments on commit 608c61b

Please sign in to comment.