mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:59:28 +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();
|
||||
|
||||
console.log(`https://stratos.heliumdev.uk/password-reset/${pr.userId}/${encodeURIComponent(pr.token)}`);
|
||||
|
||||
return res.redirect('./login');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user