diff options
author | Новгородцев Юрий <95574205+0xYura@users.noreply.github.com> | 2023-01-22 13:17:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-22 13:17:27 +0300 |
commit | e6074062a2bf6ff578da88426269cd4dd4d6657d (patch) | |
tree | 543c58ac85a2cf3edfda943143b21e123261c419 /src/main/java/net/elytrium/limboauth/LimboAuth.java | |
parent | 4f688dce7f7ab9d66ea6136351a5b59fe17a2236 (diff) | |
download | LimboAuth-e6074062a2bf6ff578da88426269cd4dd4d6657d.tar.gz LimboAuth-e6074062a2bf6ff578da88426269cd4dd4d6657d.tar.bz2 LimboAuth-e6074062a2bf6ff578da88426269cd4dd4d6657d.zip |
Добавление алиасов /logout, /cp и /fcp (#73)
* Update VERSION
* Update build.gradle
* Update LimboAuth.java
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/LimboAuth.java')
-rw-r--r-- | src/main/java/net/elytrium/limboauth/LimboAuth.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/elytrium/limboauth/LimboAuth.java b/src/main/java/net/elytrium/limboauth/LimboAuth.java index 49bc15b..6851d4f 100644 --- a/src/main/java/net/elytrium/limboauth/LimboAuth.java +++ b/src/main/java/net/elytrium/limboauth/LimboAuth.java @@ -333,9 +333,9 @@ 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"); - manager.register("forcechangepassword", new ForceChangePasswordCommand(this.server, this.playerDao), "forcechangepass"); - manager.register("destroysession", new DestroySessionCommand(this)); + manager.register("changepassword", new ChangePasswordCommand(this.playerDao), "changepass", "cp"); + manager.register("forcechangepassword", new ForceChangePasswordCommand(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"); } |