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

Demo not working #101

Closed
archonic opened this issue Sep 22, 2016 · 2 comments
Closed

Demo not working #101

archonic opened this issue Sep 22, 2016 · 2 comments

Comments

@archonic
Copy link

archonic commented Sep 22, 2016

Getting undefined method 'for' for #<Devise::ParameterSanitizer:0x007fbfb5a59ed0>
in
app/controllers/application_controller.rb:11:in 'configure_permitted_parameters'

@mieps
Copy link

mieps commented Sep 27, 2016

@archonic go to application_controller.rb and change the following

-    devise_parameter_sanitizer.for(:sign_in) << :otp_attempt
+    devise_parameter_sanitizer.permit(:sign_in, keys: [:otp_attempt])

Later i will pull request it

@diegorv
Copy link

diegorv commented Dec 6, 2016

Fixed here: #102

@bsedat bsedat closed this as completed Dec 7, 2016
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

4 participants