diff --git a/packages/nocodb/src/modules/auth/ui/auth/emailVerify.ts b/packages/nocodb/src/modules/auth/ui/auth/emailVerify.ts index 34eba67123..c9a265459b 100644 --- a/packages/nocodb/src/modules/auth/ui/auth/emailVerify.ts +++ b/packages/nocodb/src/modules/auth/ui/auth/emailVerify.ts @@ -9,7 +9,7 @@ export default ` -
+
@@ -42,7 +42,7 @@ export default ` valid: null, errMsg: null, validForm: false, - token: '<%= token %>', + token: document.getElementById('app').dataset.token, greeting: 'Password Reset', formdata: { password: '', diff --git a/packages/nocodb/src/modules/auth/ui/auth/resetPassword.ts b/packages/nocodb/src/modules/auth/ui/auth/resetPassword.ts index e4db0ac3ac..0939041c80 100644 --- a/packages/nocodb/src/modules/auth/ui/auth/resetPassword.ts +++ b/packages/nocodb/src/modules/auth/ui/auth/resetPassword.ts @@ -9,7 +9,7 @@ export default ` -
+
@@ -68,7 +68,7 @@ export default ` data: { valid: null, validForm: false, - token: '<%= token %>', + token: document.getElementById('app').dataset.token, greeting: 'Password Reset', formdata: { password: '',