mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 11:12:30 +02:00
actually delete the cookie on the browser on signout
This commit is contained in:
parent
b7bef2bf55
commit
380bd5f484
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ def signout
|
|||
@_site = nil
|
||||
@_parent_site = nil
|
||||
session[:id] = nil
|
||||
session.clear
|
||||
response.delete_cookie 'neocities', path: '/'
|
||||
request.env['rack.session.options'][:drop] = true
|
||||
end
|
||||
|
||||
def current_site
|
||||
|
|
Loading…
Add table
Reference in a new issue