We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
# acts_as_token_authentication_handler_for SpecialUser, as: :user, fallback: :none # acts_as_token_authentication_handler_for AltUser, as: :user, fallback: :none
when a request comes in with X-User-Email & X-User-Token (with credentials of SpecialUser), one DB query is done (select in AltUser table)
X-User-Email
X-User-Token
AltUser
and nobody is authenticated...
current_special_user & current_alt_user are both nil
current_special_user
current_alt_user
nil
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when a request comes in with
X-User-Email
&X-User-Token
(with credentials of SpecialUser), one DB query is done (select inAltUser
table)and nobody is authenticated...
current_special_user
¤t_alt_user
are bothnil
The text was updated successfully, but these errors were encountered: