Protetto le password (al load) che vengono settate in settings

This commit is contained in:
paoloar77
2021-12-23 14:13:40 +01:00
parent cbac34bc0e
commit 665680b531
32 changed files with 248 additions and 302 deletions

View File

@@ -121,9 +121,9 @@ router.post('/', async (req, res) => {
}
// user.perm = 3;
if (tools.testing()) {
user.verified_email = true;
}
// if (tools.testing()) {
// user.verified_email = true;
// }
// if (user.profile.intcode_cell) {
// if (user.profile.cell.substring(0, user.profile.intcode_cell.length) === user.profile.intcode_cell) {