Fixed routing bug on (ex) admin controller.
This commit is contained in:
parent
9a54d8504c
commit
571548dfbc
10 changed files with 9 additions and 15 deletions
|
|
@ -1,6 +1,5 @@
|
|||
class LoginController < ApplicationController
|
||||
skip_before_filter :authenticate # no authentication since this is the login page
|
||||
filter_parameter_logging "password" # do not log "password" parameter
|
||||
before_filter :validate_token, :only => [:password, :update_password]
|
||||
|
||||
verify :method => :post, :only => [:login, :reset_password, :new], :redirect_to => { :action => :index }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue