Skip to content
New issue

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

Options specific to resource #135

Open
dachinat opened this issue Dec 15, 2017 · 1 comment
Open

Options specific to resource #135

dachinat opened this issue Dec 15, 2017 · 1 comment

Comments

@dachinat
Copy link

Hello. Is a way to apply two_factor_authentication configurations specific to resource type?

I'm trying to give different values to remember_otp_session_for_seconds for admin resource and user.

@dachinat
Copy link
Author

dachinat commented Dec 15, 2017

I have tried adding self.remember_otp_session_for_seconds to both models with different values. This kind of works, but is there a better solution?

A problem in this case is that if you authenticate into another resource, then first resource asks for 2fa code again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant