1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 01:19:31 +00:00

Lint cleanup with new rules

This commit is contained in:
2022-03-03 09:14:09 +00:00
parent 80291efc6d
commit c9e826d016
20 changed files with 104 additions and 57 deletions

View File

@@ -171,7 +171,7 @@ router.get('/password-reset/:uuid/:token', async (req, res) => {
let pr;
try {
pr = await new PasswordReset(uuid, token);
} catch(e) {
} catch (e) {
console.error(e);
return res.redirect('/password-reset');
}
@@ -214,7 +214,7 @@ router.post('/change-password', async (req, res) => {
fields.get('uuid'),
fields.get('token')
);
} catch(e) {
} catch (e) {
console.error(e);
return res.redirect('/password-reset');
}