Commit Graph

7 Commits

Author SHA1 Message Date
MangosArentLiterature
bedf24a7d6 Merge branch 'password-changing' into password-requirements 2021-05-08 23:28:53 -05:00
MangosArentLiterature
7b100ba2ad Inform clients they are not logged in 2021-05-08 23:28:27 -05:00
MangosArentLiterature
7c09ce6b5c Add password requirements
* Adds several configurable options for server owners to set requirements for passwords.
* This system can be enabled/disabled with the password_requirements option.
* Checks new and updated passwords against these requirements.
2021-05-08 21:15:16 -05:00
MangosArentLiterature
b7d95de9dc Add /changepass
* Adds a command allowing moderators to change their password.
* Users with SUPER permissions can change the password of other moderators.
* Resolves #124
2021-05-08 14:58:22 -05:00
MangosArentLiterature
a5386ddc77 Change /login to use a "prompt" based system
This commit changes /login to no longer take command arguments. Instead, upon sending /login, you will enter an interactive "prompt", where your next OOC message will be interpreted as your login attempt (and will not be shown to other users). This prevents a typo from accidentally broadcasting your credentials to the entire area.

- Changes /login to take no command arguments, /login now sets a client state "is_logging_in".
- pktOocChat will now intercept a client's OOC message if they have this client state, and will interpret that as a moderator login.
- Adds the helper function loginAttempt() for handling moderator logins.
2021-04-26 16:29:56 -05:00
MangosArentLiterature
885de71417 Split up commands.cpp
the beast has been vanquished
2021-04-15 17:55:15 -05:00
MangosArentLiterature
7dca20efe5 Splitting commands part 1, authentication 2021-04-15 00:49:57 -05:00