mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-18 22:50:59 +00:00
reset username and role on logout
This commit is contained in:
@@ -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 "";
|
||||||
|
|||||||
Reference in New Issue
Block a user