From e6074062a2bf6ff578da88426269cd4dd4d6657d Mon Sep 17 00:00:00 2001 From: Новгородцев Юрий <95574205+0xYura@users.noreply.github.com> Date: Sun, 22 Jan 2023 13:17:27 +0300 Subject: Добавление алиасов /logout, /cp и /fcp (#73) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update VERSION * Update build.gradle * Update LimboAuth.java --- src/main/java/net/elytrium/limboauth/LimboAuth.java | 6 +++--- 1 file 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"); } -- cgit