Fix logging with with Javascript disabled
This commit is contained in:
parent
2a0c879d53
commit
1c3f692ec0
2 changed files with 3 additions and 1 deletions
|
|
@ -244,6 +244,8 @@ Devise.setup do |config|
|
|||
|
||||
# The default HTTP method used to sign out a resource. Default is :delete.
|
||||
# config.sign_out_via = :delete
|
||||
# Workaround: logging out would not work without Javascript otherwise
|
||||
config.sign_out_via = :get
|
||||
|
||||
# ==> OmniAuth
|
||||
# Add a new OmniAuth provider. Check the wiki for more information on setting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue