mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
document handle_unverified_request method
This commit is contained in:
parent
007214cfb9
commit
2949e30a05
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,8 @@ module ActionController #:nodoc:
|
|||
end
|
||||
end
|
||||
|
||||
# This is the method that defines the application behaviour when a request is found to be unverified.
|
||||
# By default, \Rails resets the session when it finds an unverified request.
|
||||
def handle_unverified_request
|
||||
reset_session
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue