aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/LimboAuth.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2023-01-23 01:31:47 +0300
committerPetr Ilin <hevav@hevav.dev>2023-01-23 01:31:47 +0300
commit0fc01edf83f47ba9e19b9ea44ab2232cab4fe4a1 (patch)
treee37732f7c53ca73eca62d88e3f783f6623e32168 /src/main/java/net/elytrium/limboauth/LimboAuth.java
parent6e20aed94c7ce313dd280546e2dd537d35cfb002 (diff)
downloadLimboAuth-0fc01edf83f47ba9e19b9ea44ab2232cab4fe4a1.tar.gz
LimboAuth-0fc01edf83f47ba9e19b9ea44ab2232cab4fe4a1.tar.bz2
LimboAuth-0fc01edf83f47ba9e19b9ea44ab2232cab4fe4a1.zip
Removing players from the session/premium cache when changing passwords
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/LimboAuth.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/LimboAuth.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/elytrium/limboauth/LimboAuth.java b/src/main/java/net/elytrium/limboauth/LimboAuth.java
index 6851d4f..1dcd22b 100644
--- a/src/main/java/net/elytrium/limboauth/LimboAuth.java
+++ b/src/main/java/net/elytrium/limboauth/LimboAuth.java
@@ -333,8 +333,8 @@ public class LimboAuth {
manager.register("unregister", new UnregisterCommand(this, this.playerDao), "unreg");
manager.register("premium", new PremiumCommand(this, this.playerDao), "license");
manager.register("forceunregister", new ForceUnregisterCommand(this, this.server, this.playerDao), "forceunreg");
- manager.register("changepassword", new ChangePasswordCommand(this.playerDao), "changepass", "cp");
- manager.register("forcechangepassword", new ForceChangePasswordCommand(this.server, this.playerDao), "forcechangepass", "fcp");
+ manager.register("changepassword", new ChangePasswordCommand(this, this.playerDao), "changepass", "cp");
+ manager.register("forcechangepassword", new ForceChangePasswordCommand(this, this.server, this.playerDao), "forcechangepass", "fcp");
manager.register("destroysession", new DestroySessionCommand(this), "logout");
if (Settings.IMP.MAIN.ENABLE_TOTP) {
manager.register("2fa", new TotpCommand(this.playerDao), "totp");