Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit 4e8be71

Browse files
committed
Merge pull request #65 from scalableinternetservices/csrf
CSRF tokens are now ignored
2 parents b4df9a4 + deca357 commit 4e8be71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/application_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class ApplicationController < ActionController::Base
22
# Prevent CSRF attacks by raising an exception.
33
# For APIs, you may want to use :null_session instead.
4-
protect_from_forgery with: :exception
4+
# protect_from_forgery with: :exception
55

66
def after_sign_in_path_for(resource)
77
dashboard_path()

0 commit comments

Comments
 (0)