Registrazione senza Telegram
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -169,7 +169,7 @@ module.exports = {
|
||||
// },
|
||||
|
||||
getlinkReg: function(idapp, idreg) {
|
||||
const strlinkreg = tools.getHostByIdApp(idapp) + process.env.LINKVERIF_REG + `?idapp=${idapp}&idlink=${idreg}`;
|
||||
const strlinkreg = tools.getHostByIdApp(idapp) + process.env.LINKVERIF_REG + `/?idapp=${idapp}&idlink=${idreg}`;
|
||||
return strlinkreg;
|
||||
},
|
||||
sendEmail_Registration: async function(lang, emailto, user, idapp, idreg) {
|
||||
|
||||
Reference in New Issue
Block a user