mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Also destroy the ichain session for deisabled users
This commit is contained in:
parent
19dc918bc4
commit
2c98ba9711
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class ApplicationController < ActionController::Base
|
|||
sign_out(current_user)
|
||||
mail = User.admin.first ? User.admin.first.email : 'the admin!'
|
||||
flash[:error] = "This User is disabled. Please contact #{mail}!"
|
||||
redirect_to root_path
|
||||
redirect_to User.ichain_logout_url
|
||||
end
|
||||
|
||||
def not_found
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue