Navigation Menu

Skip to content

Commit

Permalink
[ YC-905 ] Improved registration and validation process
Browse files Browse the repository at this point in the history
- email is now assignable from attribute
- password/confirmPassword attributes in form
- configuration for email validation in a shop
- temporary passwords in JAM + password change form
- customer password flows
  • Loading branch information
denyspavlov committed May 19, 2018
1 parent 463fb04 commit 4de74a1
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion env/migration/migrate-3.4.0-3.5.0/YC-905-README.txt
Expand Up @@ -44,7 +44,7 @@ their choice. The password is validated using same configurations as registratio
JAM has password reset functionality in CallCenter section. Depending on the desired behaviour shop owner can set
SHOP_CUSTOMER_PASSWORD_RESET_CC shop attribute. If it is filled in (with secure token of shop owner choice) the behaviour
would be to auto generate the password. If it is not filled in the the customer will be sent password reset link via email.
In case password reset is triggered from Admin email template will have $callCentrePasswordReset variable set to 'true',
In case password reset is triggered from Admin email template will have $additionalData.callCentrePasswordReset variable set to 'true',
otherwise this variable is 'false'.

3. Auto generated passwords (old behaviour)
Expand Down
Expand Up @@ -32,7 +32,7 @@
<td width="2%">&nbsp;</td>
<td>
Dear <b>$firstName $lastName</b>,<br>
<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Call centre requested new password at
<% } else { %>
You or somebody else requested new password at
Expand Down
@@ -1,6 +1,6 @@
Dear $firstName $lastName,

<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Call centre requested new password at "$shopName"
<% } else { %>
You or somebody else requested new password at "$shopName"
Expand Down
Expand Up @@ -32,7 +32,7 @@
<td width="2%">&nbsp;</td>
<td>
Guten Tag <b>$firstName $lastName</b>,<br>
<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Das Call Center hat ein neues Passwort angefragt bei
<% } else { %>
Sie haben ein neues Passwort angefragt bei
Expand Down
@@ -1,6 +1,6 @@
Guten Tag $firstName $lastName,

<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Das Call Center hat ein neues Passwort angefragt bei $shopName
<% } else { %>
Sie haben ein neues Passwort angefragt bei $shopName
Expand Down
Expand Up @@ -32,7 +32,7 @@
<td width="2%">&nbsp;</td>
<td>
Dear <b>$firstName $lastName</b>,<br>
<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Call centre requested new password at
<% } else { %>
You or somebody else requested new password at
Expand Down
@@ -1,6 +1,6 @@
Dear $firstName $lastName,

<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Call centre requested new password at "$shopName"
<% } else { %>
You or somebody else requested new password at "$shopName"
Expand Down
Expand Up @@ -32,7 +32,7 @@
<td width="2%">&nbsp;</td>
<td>
Уважаемый (-ая) <b>$firstName $lastName</b>,<br>
<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Служба поддержки запросила новый пароль на
<% } else { %>
Вы или кто то другой запросили новый пароль на
Expand Down
@@ -1,6 +1,6 @@
Уважаемый (-ая) $firstName $lastName,

<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Служба поддержки запросила новый пароль на $shopName
<% } else { %>
Вы или кто то другой запросили новый пароль на $shopName
Expand Down
Expand Up @@ -32,7 +32,7 @@
<td width="2%">&nbsp;</td>
<td>
Шановний (-на) <b>$firstName $lastName</b>,<br>
<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Служба підтримки зробила запит на новий пароль на
<% } else { %>
Вами або кимось іншим був зроблений запит на новий пароль на
Expand Down
@@ -1,6 +1,6 @@
Шановний (-на) $firstName $lastName,

<% if (callCentrePasswordReset) { %>
<% if (additionalData.callCentrePasswordReset) { %>
Служба підтримки зробила запит на новий пароль на $shopName
<% } else { %>
Вами або кимось іншим був зроблений запит на новий пароль на $shopName
Expand Down

0 comments on commit 4de74a1

Please sign in to comment.