user logout will now announce a successful logout

This commit is contained in:
/Fox --develop 2018-03-02 10:58:31 -08:00 committed by GitHub
parent 42e6672175
commit 1269ef3210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,4 +331,5 @@ class extends lapis.Application
@session.id = nil @session.id = nil
@session.redirect = nil @session.redirect = nil
Sessions\close(@session) Sessions\close(@session)
@session.info = "You have been logged out."
return redirect_to: @params.redirect or @url_for "index" return redirect_to: @params.redirect or @url_for "index"