- fix link bot for Test Envinroment
- If invite not exist, error message - Username (where name and surname don't exists).
This commit is contained in:
@@ -667,7 +667,7 @@ module.exports = {
|
||||
|
||||
sendBackNotif: function(subscription, payload) {
|
||||
|
||||
console.log('sendBackNotif:', subscription, payload);
|
||||
// console.log('sendBackNotif:', subscription, payload);
|
||||
|
||||
const pushOptions = {
|
||||
vapidDetails: {
|
||||
@@ -2319,7 +2319,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
blockwords(mystr) {
|
||||
const arrwords = ['http', 'Http', 'Asasfasfas', '://', 'mrbit', 'admin', 'info', 'superuser'];
|
||||
const arrwords = ['http', 'Http', 'Asasfasfas', '://', 'mrbit', 'admin', 'superuser'];
|
||||
for (const myword of arrwords) {
|
||||
if (mystr.includes(myword)) {
|
||||
return true;
|
||||
@@ -2445,4 +2445,8 @@ module.exports = {
|
||||
return nome;
|
||||
},
|
||||
|
||||
sulServer() {
|
||||
return process.env.LOCALE !== '1'
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = Object.freeze({
|
||||
RIS_CODE_EMAIL_ALREADY_VERIFIED: -5,
|
||||
RIS_CODE_EMAIL_VERIFIED: 1,
|
||||
|
||||
RIS_CODE_USER_NOT_THIS_APORTADOR: -75,
|
||||
RIS_CODE_USER_APORTADOR_NOT_VALID: -75,
|
||||
RIS_CODE_USER_EXTRALIST_NOTFOUND: -70,
|
||||
RIS_CODE_USERNAME_ALREADY_EXIST: -60,
|
||||
RIS_CODE_USERNAME_NOT_VALID: -65,
|
||||
|
||||
Reference in New Issue
Block a user