mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 18:55:11 +01:00
Fixes NPE on forceRegister (Fixes #473)
This commit is contained in:
parent
678891d0b8
commit
0b4ddce3c4
@ -75,7 +75,7 @@ public class AsyncRegister {
|
|||||||
if (!preRegisterCheck()) {
|
if (!preRegisterCheck()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!email.isEmpty() && !email.equals("")) {
|
if (email != null && !email.isEmpty()) {
|
||||||
emailRegister();
|
emailRegister();
|
||||||
} else {
|
} else {
|
||||||
passwordRegister();
|
passwordRegister();
|
||||||
|
Loading…
Reference in New Issue
Block a user