Commit 84d17f79655498f49d5c957c8f09aeef7cdc56c2
1 parent
a73df4f7
Exists in
spb-stable
and in
3 other branches
Skip require email for devise controllers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/application_controller.rb
@@ -11,7 +11,7 @@ class ApplicationController < ActionController::Base | @@ -11,7 +11,7 @@ class ApplicationController < ActionController::Base | ||
11 | before_filter :default_headers | 11 | before_filter :default_headers |
12 | before_filter :add_gon_variables | 12 | before_filter :add_gon_variables |
13 | before_filter :configure_permitted_parameters, if: :devise_controller? | 13 | before_filter :configure_permitted_parameters, if: :devise_controller? |
14 | - before_filter :require_email | 14 | + before_filter :require_email, unless: :devise_controller? |
15 | 15 | ||
16 | protect_from_forgery | 16 | protect_from_forgery |
17 | 17 |