mirror of
https://github.com/lazuscripts/users.git
synced 2024-11-17 03:14:22 +00:00
user logout will now announce a successful logout
This commit is contained in:
parent
42e6672175
commit
1269ef3210
@ -331,4 +331,5 @@ class extends lapis.Application
|
||||
@session.id = nil
|
||||
@session.redirect = nil
|
||||
Sessions\close(@session)
|
||||
@session.info = "You have been logged out."
|
||||
return redirect_to: @params.redirect or @url_for "index"
|
||||
|
Loading…
Reference in New Issue
Block a user