mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 06:19:29 +00:00
Added placeholder for testing password reset
This commit is contained in:
@@ -147,6 +147,8 @@ router.post('/password-reset', async (req, res) => {
|
|||||||
|
|
||||||
const pr = await u.generatePasswordReset();
|
const pr = await u.generatePasswordReset();
|
||||||
|
|
||||||
|
console.log(`https://stratos.heliumdev.uk/password-reset/${pr.userId}/${encodeURIComponent(pr.token)}`);
|
||||||
|
|
||||||
return res.redirect('./login');
|
return res.redirect('./login');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user