summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2024-07-08 22:10:50 -0400
committerPuyodead1 <puyodead@proton.me>2024-07-08 22:10:50 -0400
commit629451bbfd9698975bdb95dce4f3152bbdb3893c (patch)
tree099bd2e4a863fbc45506123d5408c9a794ded426 /src/api
parentfix `verify_email` template (diff)
downloadserver-ts-629451bbfd9698975bdb95dce4f3152bbdb3893c.tar.xz
fix incorrect error field
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/auth/verify/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/verify/index.ts b/src/api/routes/auth/verify/index.ts

index 49f742778..32c3f3058 100644 --- a/src/api/routes/auth/verify/index.ts +++ b/src/api/routes/auth/verify/index.ts
@@ -85,7 +85,7 @@ router.post( user = userTokenData.user; } catch { throw FieldErrors({ - password: { + token: { message: req.t("auth:password_reset.INVALID_TOKEN"), code: "INVALID_TOKEN", },