Merge branch 'master' of github.com:OWASP/railsgoat into tuts
This commit is contained in:
@@ -22,7 +22,7 @@ Railsgoat::Application.configure do
|
||||
config.action_dispatch.show_exceptions = false
|
||||
|
||||
# Disable request forgery protection in test environment
|
||||
config.action_controller.allow_forgery_protection = false
|
||||
config.action_controller.allow_forgery_protection = true
|
||||
|
||||
# Tell Action Mailer not to deliver emails to the real world.
|
||||
# The :test delivery method accumulates sent emails in the
|
||||
|
||||
Executable → Regular
+1
-1
@@ -6,7 +6,7 @@ Railsgoat::Application.routes.draw do
|
||||
match "forgot_password" => "password_resets#forgot_password"
|
||||
get "password_resets" => "password_resets#confirm_token"
|
||||
post "password_resets" => "password_resets#reset_password"
|
||||
|
||||
get "dashboard/doc" => "dashboard#doc"
|
||||
|
||||
resources :sessions do
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user