Skip to content

Commit 23b14e5

Browse files
Merge pull request #174 from graphql-devise/correct-confirm-account-resolver-return
Fix confirm account resolver return value
2 parents e623227 + 372a572 commit 23b14e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/graphql_devise/resolvers/confirm_account.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def resolve(confirmation_token:, redirect_url:)
3232
end
3333

3434
controller.redirect_to(redirect_to_link)
35-
{ authenticatable: resource }
35+
resource
3636
else
3737
raise_user_error(I18n.t('graphql_devise.confirmations.invalid_token'))
3838
end

0 commit comments

Comments
 (0)