mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 06:07:27 +08:00
Update src/main/java/icu/samnyan/aqua/net/UserRegistrar.kt
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -112,7 +112,7 @@ class UserRegistrar(
|
|||||||
?: (400 - "User not found")
|
?: (400 - "User not found")
|
||||||
if (!hasher.matches(password, user.pwHash)) 400 - "Invalid password"
|
if (!hasher.matches(password, user.pwHash)) 400 - "Invalid password"
|
||||||
|
|
||||||
if (user.ghostCard.status == CardStatus.MIGRATED_TO_MINATO) 400 - "Placeholder"
|
if (user.ghostCard.status == CardStatus.MIGRATED_TO_MINATO) 400 - "Login not allowed: Card has been migrated to Minato."
|
||||||
|
|
||||||
// Check if email is verified
|
// Check if email is verified
|
||||||
if (!user.emailConfirmed && emailProps.enable) {
|
if (!user.emailConfirmed && emailProps.enable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user