diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/auth/sessions_controller.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb index 42b1d4ead..fe0adc9bb 100644 --- a/app/controllers/auth/sessions_controller.rb +++ b/app/controllers/auth/sessions_controller.rb @@ -1,3 +1,11 @@ class Auth::SessionsController < Devise::SessionsController + include Devise::Controllers::Rememberable + layout 'auth' + + def create + super do |resource| + remember_me(resource) + end + end end |