force isImported to boolean front side = erased added false isImported back side
MODIFY
src/server/rest/v1/service/AuthService.ts
src/server/rest/v1/service/AuthService.ts
@@ -258,7 +258,7 @@ export default class AuthService {
if (tenantID !== Constants.DEFAULT_TENANT) {
// Send notification
const evseDashboardVerifyEmailURL = Utils.buildEvseURL(filteredRequest.tenant) +
- '/verify-email?VerificationToken=' + verificationToken + '&Email=' + newUser.email + '&isImported=false';
+ '/verify-email?VerificationToken=' + verificationToken + '&Email=' + newUser.email;
// Notify (Async)
NotificationHandler.sendNewRegisteredUser(
tenantID,
@@ -671,7 +671,7 @@ export default class AuthService {
// Send notification
const evseDashboardVerifyEmailURL = Utils.buildEvseURL(filteredRequest.tenant) +
'/verify-email?VerificationToken=' + verificationToken + '&Email=' +
- user.email + '&isImported=false';
+ user.email;
// Send Verification Email (Async)
NotificationHandler.sendVerificationEmail(
tenantID,

MODIFY
src/server/rest/v1/service/TenantService.ts
src/server/rest/v1/service/TenantService.ts
@@ -285,7 +285,7 @@ export default class TenantService {
// Send activation link
const evseDashboardVerifyEmailURL = Utils.buildEvseURL(filteredRequest.subdomain) +
'/verify-email?VerificationToken=' + verificationToken + '&Email=' +
- tenantUser.email + '&ResetToken=' + resetHash + '&isImported=false';
+ tenantUser.email + '&ResetToken=' + resetHash;
// Send Register User (Async)
NotificationHandler.sendNewRegisteredUser(
filteredRequest.id,

force isImported to boolean front side = erased added false isImported back side