lipsiadmin_generators/backend/templates/controllers/backend/sessions_controller.rb in lipsiadmin-3.0 vs lipsiadmin_generators/backend/templates/controllers/backend/sessions_controller.rb in lipsiadmin-3.1

- old
+ new

@@ -1,7 +1,6 @@ # This controller handles the login/logout function of the site. class Backend::SessionsController < ApplicationController - layout false layout "backend" def create self.current_account = Account.authenticate(params[:email], params[:password]) if logged_in?