Skip to content

Commit 0d7355b

Browse files
authored
Update plugin.rb
1 parent 9089bf5 commit 0d7355b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugin.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ def after_authenticate(auth_token, existing_account: nil)
5151
#Rails.logger.info("found user #{user.inspect}")
5252
else
5353
Rails.logger.info("no associated_account found for this uuid")
54-
result = Auth::Result.new
55-
result.failed = true
56-
result.failed_reason = "no associated account found for this user. please use your local credentials."
54+
result = super(auth_token, existing_account: existing_account)
5755
end
5856
else
5957
Rails.logger.info("no user found for this email. creating new user account with association.")

0 commit comments

Comments
 (0)