orbit-4-2/app/controllers/admin/sessions_controller.rb

8 lines
106 B
Ruby

class SessionsController < Devise::SessionsController
def create
super
reset_session
end
end