#REM Parameters: #SNIPPET.LoginTo ... String on which page to login: CustomerArea or Checkout. #SNIPPET.ReplaceState ... String to return to if back button is clicked after login. (optional) Example: #SNIPPET("SNIPPET-UnityLoginForm", "LoginTo, ReplaceState", "Checkout", "/cart") #ENDREM

{Login}

{RegistrationInfo}

#IF(#FormError AND #FormErrors.Form.Login.ErrorCount)
#IF(#FormErrors.Reason.LOGIN_INACTIVE)

{LoginInActive}

{ContactShopOwner}

#ELSIF(#FormErrors.Reason.LOGIN_FAILED)

{LoginFailed}

{PleaseCorrectErrors}

#ELSIF(#FormErrors.Reason.LOGIN_LOCKED)

{LoginLocked}

#ELSIF(#FormErrors.Reason.LOGIN_NOT_VERIFIED)

{LoginNotVerified}

#ELSIF(#FormErrors.Reason.PASSWD_OUTDATED)

{PasswdOutdated}

#ELSE

{EnterLoginAndPassword}

#ENDIF
#ENDIF
{EmailAddress}
#WITH_ERROR(#FormError) #ENDWITH_ERROR
{Password}

#IF(#DEFINED(#SNIPPET.ReplaceState) AND #Shop.IsUnityRegistered AND NOT (#FormError AND #FormErrors.Form.Login.ErrorCount)) #ENDIF