Clear password on metaverse server change

This commit is contained in:
ksuprynowicz 2022-01-28 18:55:58 +01:00
parent 000166beef
commit dc29dc4998

View file

@ -410,9 +410,9 @@ Item {
if(AccountServices.isLoggedIn()){ if(AccountServices.isLoggedIn()){
AccountServices.logOut(); AccountServices.logOut();
} }
passwordField.text = "";
AccountServices.updateAuthURLFromMetaverseServerURL(); AccountServices.updateAuthURLFromMetaverseServerURL();
} }
linkAccountBody.login();
break; break;
} }
} }
@ -429,6 +429,7 @@ Item {
if(AccountServices.isLoggedIn()){ if(AccountServices.isLoggedIn()){
AccountServices.logOut(); AccountServices.logOut();
} }
passwordField.text = "";
AccountServices.updateAuthURLFromMetaverseServerURL(); AccountServices.updateAuthURLFromMetaverseServerURL();
} }
} }