You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Devise supports an after_database_authentication callback immediately after authenticating via the DatabaseAuthenticatable strategy (when calling authenticate!).
However DTA uses the controller method sign_in directly, which does not call this callback after successfully authenticating - similar to this issue's cause.
Would you be okay with me opening a PR to call this callback after sign_in in DeviseTokenAuth::Concerns::SetUserByToken? @lynndylanhurley Thanks!
The text was updated successfully, but these errors were encountered:
Devise supports an
after_database_authentication
callback immediately after authenticating via the DatabaseAuthenticatable strategy (when callingauthenticate!
).However DTA uses the controller method
sign_in
directly, which does not call this callback after successfully authenticating - similar to this issue's cause.Would you be okay with me opening a PR to call this callback after sign_in in
DeviseTokenAuth::Concerns::SetUserByToken
? @lynndylanhurley Thanks!The text was updated successfully, but these errors were encountered: