There was an error while loading. Please reload this page.
2 parents 537d9c3 + a816822 commit 38f19d2Copy full SHA for 38f19d2
1 file changed
app/controllers/users/orcid_controller.rb
@@ -79,6 +79,7 @@ def search_and_link_callback
79
80
81
@user = User.from_orcid(response[:id])
82
+ sign_in @user
83
84
@user.update(orcid_search_and_link_access_token: response[:access_token],
85
orcid_search_and_link_refresh_token: response[:refresh_token],
0 commit comments