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

invitations_controller doesn't take per-model allow_insecure_sign_in_after_accept #790

Closed
pcrama opened this issue Mar 20, 2019 · 1 comment

Comments

@pcrama
Copy link

pcrama commented Mar 20, 2019

Due to the usage of Devise.allow_insecure_sign_in_after_accept (instead of resource.allow_insecure_sign_in_after_accept?) in update, it is useless to use devise :invitable, allow_insecure_sign_in_after_accept: false in my model to override the global default for that model only.

Yet the use of Devise::Models.config in models.rb suggests it should be possible.

Note that this issue is there since a long time (I encountered it in v1.6.1): backporting the fix would be greatly appreciated!

@scambra
Copy link
Owner

scambra commented Mar 21, 2019

Backported to new branch 1-7-stable

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

2 participants