There was an error while loading. Please reload this page.
1 parent 9089bf5 commit 0d7355bCopy full SHA for 0d7355b
plugin.rb
@@ -51,9 +51,7 @@ def after_authenticate(auth_token, existing_account: nil)
51
#Rails.logger.info("found user #{user.inspect}")
52
else
53
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."
+ result = super(auth_token, existing_account: existing_account)
57
end
58
59
Rails.logger.info("no user found for this email. creating new user account with association.")
0 commit comments