diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-30 15:16:24 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-30 15:16:24 +0100 |
commit | f076daa76a32074cba162459e38fa8c130ad42d0 (patch) | |
tree | ea8a92d6305afa158b7774b65e9e6098cc094b92 /server/middlewares/validators/users.ts | |
parent | ecb4e35f4e6c7304cb274593c13cb47fd5078b75 (diff) | |
download | PeerTube-f076daa76a32074cba162459e38fa8c130ad42d0.tar.gz PeerTube-f076daa76a32074cba162459e38fa8c130ad42d0.tar.zst PeerTube-f076daa76a32074cba162459e38fa8c130ad42d0.zip |
Add tests for emails
Diffstat (limited to 'server/middlewares/validators/users.ts')
-rw-r--r-- | server/middlewares/validators/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts index 5f44c3b99..cba15c8d3 100644 --- a/server/middlewares/validators/users.ts +++ b/server/middlewares/validators/users.ts | |||
@@ -210,7 +210,7 @@ const usersResetPasswordValidator = [ | |||
210 | return res | 210 | return res |
211 | .status(403) | 211 | .status(403) |
212 | .send({ error: 'Invalid verification string.' }) | 212 | .send({ error: 'Invalid verification string.' }) |
213 | .end | 213 | .end() |
214 | } | 214 | } |
215 | 215 | ||
216 | return next() | 216 | return next() |