No need to revoke a user's session when changing group bits.
git-svn-id: svn://10.0.0.236/trunk@227561 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
93d1f0bf35
commit
b2bda161d6
@ -131,11 +131,9 @@ if (Litmus::Auth::istrusted($cookie)) {
|
||||
if ($c->param("group_".$group->group_id())) {
|
||||
# we're blessing this user
|
||||
Litmus::DB::UserGroupMap->find_or_create(user=>$user, group=>$group);
|
||||
$revoke_sessions = 1;
|
||||
} else {
|
||||
# unblesing (if previously blessed) the user
|
||||
Litmus::DB::UserGroupMap->remove($user, $group);
|
||||
$revoke_sessions = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user