actually delete the cookie on the browser on signout
This commit is contained in:
parent
b7bef2bf55
commit
380bd5f484
@ -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…
x
Reference in New Issue
Block a user