mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-03 00:16:50 +00:00
reset username and role on logout
This commit is contained in:
parent
9c7034e401
commit
bd4cfe06b1
@ -46,6 +46,8 @@ std::string GetFail(const std::string& R){
|
|||||||
|
|
||||||
std::string Login(const std::string& fields){
|
std::string Login(const std::string& fields){
|
||||||
if(fields == "LO"){
|
if(fields == "LO"){
|
||||||
|
Username = "";
|
||||||
|
UserRole = "";
|
||||||
LoginAuth = false;
|
LoginAuth = false;
|
||||||
UpdateKey(nullptr);
|
UpdateKey(nullptr);
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user