Fix the fix

this should actually be what's intended
This commit is contained in:
MathMan05 authored and Madeline committed 2025-07-02 09:21:24 +10:00
1 parent 76857bdcfb
commit 6ab26cb3ff
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ router.patch(
}
if (body.new_password) {
if (!body.password || !user.email) {
if (!body.password && user.email) {
throw FieldErrors({
password: {
code: "BASE_TYPE_REQUIRED",