fixed bug 655065
This commit is contained in:
parent
d26ae7cb3a
commit
6fba848aed
2 changed files with 6 additions and 1 deletions
|
|
@ -235,6 +235,7 @@ sub www_deactivateAccountConfirm {
|
||||||
$u = WebGUI::User->new($session{user}{userId});
|
$u = WebGUI::User->new($session{user}{userId});
|
||||||
$u->status("Selfdestructed");
|
$u->status("Selfdestructed");
|
||||||
WebGUI::Session::end($session{var}{sessionId});
|
WebGUI::Session::end($session{var}{sessionId});
|
||||||
|
WebGUI::Session::start(1);
|
||||||
}
|
}
|
||||||
return www_displayLogin();
|
return www_displayLogin();
|
||||||
}
|
}
|
||||||
|
|
@ -408,6 +409,7 @@ sub www_login {
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
sub www_logout {
|
sub www_logout {
|
||||||
WebGUI::Session::end($session{var}{sessionId});
|
WebGUI::Session::end($session{var}{sessionId});
|
||||||
|
WebGUI::Session::start(1);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,10 @@ sub end {
|
||||||
WebGUI::SQL->write("delete from userSession where sessionId='$_[0]'",$session{dbh});
|
WebGUI::SQL->write("delete from userSession where sessionId='$_[0]'",$session{dbh});
|
||||||
WebGUI::SQL->write("delete from userSessionScratch where sessionId='$_[0]'",$session{dbh});
|
WebGUI::SQL->write("delete from userSessionScratch where sessionId='$_[0]'",$session{dbh});
|
||||||
if ($_[0] eq $session{var}{sessionId}) {
|
if ($_[0] eq $session{var}{sessionId}) {
|
||||||
refreshSessionVars();
|
delete $session{user};
|
||||||
|
delete $session{isInGroup};
|
||||||
|
delete $session{var};
|
||||||
|
delete $session{scratch};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue