Discussions
Anyone been getting this error (Action Controller: Exception caught - Devise) when logging into the Engine backend?
almost 7 years ago by Tom Foxwell
After installing LocomotiveCMS and setting up the first site in the Engine Backend then logging out. I now get this error when logging into /locomotive:
SyntaxError in Locomotive::SessionsController#new
/.../.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/devise-3.5.10/app/controllers/devise/sessions_controller.rb:5: syntax error, unexpected '{', expecting keyword_end ...ter only: [:create, :destroy] { request.env["devise.skip_tim... ... ^ /.../.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/devise-3.5.10/app/controllers/devise/sessions_controller.rb:5: syntax error, unexpected '}', expecting keyword_end ..."devise.skip_timeout"] = true } ... ^
Any ideas appreciated.