Registrazione: scegliere se Telegram o Email

This commit is contained in:
Surya Paolo
2022-12-12 18:25:13 +01:00
parent 1d7a98fc3f
commit 71e49c31c3
5 changed files with 73 additions and 17 deletions

View File

@@ -248,7 +248,7 @@ router.post('/', async (req, res) => {
user.aportador_solidario = await User.getRealUsernameByUsername(user.idapp, user.aportador_solidario);
}
/*if (!id_aportador && tools.getAskToVerifyReg(body.idapp)) {
if (!id_aportador && tools.getAskToVerifyReg(body.idapp)) {
// Si sta tentando di registrare una persona sotto che non corrisponde!
let msg = 'Il link di registrazione non sembra risultare valido.<br>invitante: ' +
user.aportador_solidario + '<br>username: ' + user.username;
@@ -260,7 +260,7 @@ router.post('/', async (req, res) => {
msg: '',
});
return 1;
}*/
}
if (utentenonancoraVerificato) {
if (id_aportador) {