Commit 84d17f79 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Skip require email for devise controllers

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a73df4f7
......@@ -11,7 +11,7 @@ class ApplicationController < ActionController::Base
before_filter :default_headers
before_filter :add_gon_variables
before_filter :configure_permitted_parameters, if: :devise_controller?
before_filter :require_email
before_filter :require_email, unless: :devise_controller?
protect_from_forgery
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment