Skip to content

Commit 4ab9a09

Browse files
authored
Update plugin.rb
1 parent 8276ab8 commit 4ab9a09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def after_authenticate(auth_token, existing_account: nil)
3333
association = UserAssociatedAccount.find_by(user_id: existing_account.id, provider_name: auth_token[:provider], provider_uid: auth_token[:uid])
3434
if association.nil?
3535
Rails.logger.info("no associated_account found for this uuid")
36+
result.email_valid = false
3637
end
3738
end
3839

0 commit comments

Comments
 (0)