<#-- @ftlvariable name="serverUrl" type="java.lang.String" --> <#-- @ftlvariable name="resetLinks" type="java.util.List>" --> <#-- @ftlvariable name="registerLink" type="java.lang.String" --> <#-- @ftlvariable name="canRegister" type="java.lang.Boolean" --> <#global subject>Reset your TeamCity password <#global body> Hi, This email address "${email}" was used when trying to change the password on the TeamCity server ${serverUrl}. <#if resetLinks?size == 0> The password change has failed because the email address was not found in our database of registered users. <#if canRegister> Please use the following link if you want to create a new user account: ${registerLink} <#if resetLinks?size == 1> This email address is associated with the user '${resetLinks[0].first.username}'; use the following link to reset the password: ${resetLinks[0].second} <#else> This email address is associated with several registered users, use corresponding links to reset their passwords: <#list resetLinks as resetLink> Reset user '${resetLink.first.username}' <#if (resetLink.first.lastLoginTimestamp)??>(last logged in ${resetLink.first.lastLoginTimestamp?string("dd MMM yy HH:mm")}) password ${resetLink.second} If you did not request a password reset from TeamCity, please ignore this message. <#global bodyHtml>
Hi,

This email address "${email}" was used when trying to reset the password on the TeamCity server ${serverUrl}.

<#if resetLinks?size == 0>

The password change has failed because the email address was not found in our database of registered users.

<#if canRegister>

Please use the following link if you want to create a new user account:

Register

<#elseif resetLinks?size == 1>

This email address is associated with the user '${resetLinks[0].first.username}'; use the following link to reset the password:

Reset Password

<#else>

This email address is associated with several registered users, use corresponding links to reset their passwords:

<#list resetLinks as resetLink> Reset Password for user '${resetLink.first.username}' <#if (resetLink.first.lastLoginTimestamp)??>(last logged in ${resetLink.first.lastLoginTimestamp?string("dd MMM yy HH:mm")})

If you did not request a password reset from TeamCity, please ignore this message.