kyngs / LibreLogin

Open-source, multiplatform, and highly customizable authentication plugin with outstanding features and API.
Mozilla Public License 2.0
165 stars 53 forks source link

Password verification for Auto Login #192

Open HYDeath opened 8 months ago

HYDeath commented 8 months ago

Hopefully, the /premium for Auto Login can be configured to ignore password authentication and players can authenticate directly by using the /premium command.

justcode-hj commented 8 months ago

Please let me know how I can contribute to this one. Thank you.

kyngs commented 8 months ago

You need to make the in /premium password an optional parameter. If you want an example of how optional parameters work, you can look into the login command with the 2fa code as an optional parameter. Unfortunately, you would need to check whether the config option says it should be optional, and if not, make sure it is there.