HaHaWTH / AuthMeReReloaded

A fork of AuthMe with various bug fixes and new exciting features
https://modrinth.com/plugin/authmerereloaded
GNU Affero General Public License v3.0
68 stars 7 forks source link

LeaderOS email verification support #136

Open 05678 opened 2 months ago

05678 commented 2 months ago

What feature do you want to see added?

When the LeaderOS uses the email verification, you can't access the user settings and other things in the web before you verify your email. But If I connect the authmerereloaded and the leaderos, like they are saving in same database (LeaderOS has authme support no worries) when the user registers on the web, the leaderos adds the user to the database, and the user can login with their password. I need a system that checks the isVerified (0 - not verified, 1 - verified) value in the database at the user's data, and if the user is not verified, than kicks it from the server.

Are there any alternatives?

I edit the plugin myself

Anything else?

I really hope you can do that, because this is a good thing, you can call it LeaderOS email verification support.

Thank you for your answer.

05678 commented 2 months ago

And if you want to do this, I can give you a LeaderOS api.

HaHaWTH commented 2 months ago

A value that determine whether the player is verified his email?

05678 commented 2 months ago

Yos

05678 commented 2 months ago

So you just need to check it at the player login event

05678 commented 2 months ago

And cancel the event if the value is false

HaHaWTH commented 2 months ago

I may create a new branch for this

05678 commented 2 months ago

Thank you so much!

05678 commented 2 months ago

Sorry, but are you going to do that, or just create a branch?

HaHaWTH commented 2 months ago

Working on it, when stable will push this. Maybe a bit slow because I need more tests and keep compatibility:(

HaHaWTH commented 2 months ago

We need to sync with upstream changes currently, they may drop the support of old versions

05678 commented 2 months ago

Thank you, have a nice day