mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-22 16:48:21 +01:00
Should fix the /register auto-login feature
This commit is contained in:
parent
879aa24a6e
commit
f195054303
@ -141,8 +141,10 @@ public class AsyncRegister {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!Settings.forceRegLogin) {
|
if (!Settings.forceRegLogin) {
|
||||||
PlayerCache.getInstance().addPlayer(auth);
|
//PlayerCache.getInstance().addPlayer(auth);
|
||||||
database.setLogged(name);
|
//database.setLogged(name);
|
||||||
|
// TODO: check this...
|
||||||
|
plugin.getManagement().performLogin(player, "dontneed", true);
|
||||||
}
|
}
|
||||||
plugin.otherAccounts.addPlayer(player.getUniqueId());
|
plugin.otherAccounts.addPlayer(player.getUniqueId());
|
||||||
ProcessSyncPasswordRegister sync = new ProcessSyncPasswordRegister(player, plugin);
|
ProcessSyncPasswordRegister sync = new ProcessSyncPasswordRegister(player, plugin);
|
||||||
|
Loading…
Reference in New Issue
Block a user