PiggyArchive / PiggyAuth

Safe & feature-rich auth plugin. Project has been discontinued
Apache License 2.0
33 stars 8 forks source link

Email + BossBar Bug #30

Closed ghost closed 7 years ago

ghost commented 7 years ago

If I write my password in the chat, then again password and then email it shows "Invalid email.". My email is wotblitzcz@email.cz. And I see boss (wither) in front of me if I have enabled boss bar. img_0629

Aericio commented 7 years ago

Report bugs at #10

ghost commented 7 years ago

Okay, sorry. Thanks for info!

DaPigGuy commented 7 years ago

The wither is needed for boss bar.

DaPigGuy commented 7 years ago

If your email doesn't work, just use none

ghost commented 7 years ago

But I do not know why it does not work. And if I write none it shows the same - "Invalid email."

ghost commented 7 years ago

And can you spawn this wither on a different place? I think e. g. under 0 (y = 0).

Thunder33345 commented 7 years ago

i think we should just have a config for using an old school email regex

ghost commented 7 years ago

So, how to make it working?

Aericio commented 7 years ago

MySQL or SQLite3? Any errors in console?

ghost commented 7 years ago

SQLite3, no errors.

Aericio commented 7 years ago

What server core are you using? PMMP?

ghost commented 7 years ago

No, Genisys.

ghost commented 7 years ago

Yes.

Aericio commented 7 years ago

image lmao glitchy as hell.

ghost commented 7 years ago

XD Will it be fixed?

Aericio commented 7 years ago

Before I can confirm password, it sends me the "Now type in your email" message. I get errors though: image

DaPigGuy commented 7 years ago

@lolmanz0 Aericio That means something went wrong when it was validating. Are you sure you have the correct domain & api keys?

DaPigGuy commented 7 years ago

@lolmanz0 You also need these 2 files in your bin folder: https://github.com/MCPEPIG/PiggyAuth-MailGunFiles

Aericio commented 7 years ago

I haven't set it... can you add a switch to it :3

DaPigGuy commented 7 years ago

@Thunder33345 It now checks with filter_var() if first result returns null.

DaPigGuy commented 7 years ago

New commit makes it use a 2nd method if first one fails.

Aericio commented 7 years ago

I added my MailGun credentials, still gives me the "Trying to get property of blah"

DaPigGuy commented 7 years ago

You have certificate in the bin folder?

Aericio commented 7 years ago

image

DaPigGuy commented 7 years ago

What about php.ini? Did you use one provided by me?

Aericio commented 7 years ago

Yes.

DaPigGuy commented 7 years ago

Double check your credentials. I don't have any issues.

Aericio commented 7 years ago

Send me your bins on telegram :D

Thunder33345 commented 7 years ago

@MCPEPIG i dont trust if filter_var will do the trick especially for weird short/very long domain name something like search for @ and . should do UNLESS are using email activation pin what about people using same email? or using + to remove the one email policy?