mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +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){
|
||||
if(fields == "LO"){
|
||||
Username = "";
|
||||
UserRole = "";
|
||||
LoginAuth = false;
|
||||
UpdateKey(nullptr);
|
||||
return "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user