<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- Template for editing a user account -->

User accounts > Edit account

<#if errorEmailIsEmpty??> <#assign errorMessage = "You must supply an email address." /> <#if errorEmailInUse??> <#assign errorMessage = "An account with that email address already exists." /> <#if errorEmailInvalidFormat??> <#assign errorMessage = "'${emailAddress}' is not a valid email address." /> <#if errorExternalAuthIdInUse??> <#assign errorMessage = "An account with that external authorization ID already exists." /> <#if errorFirstNameIsEmpty??> <#assign errorMessage = "You must supply a first name." /> <#if errorLastNameIsEmpty??> <#assign errorMessage = "You must supply a last name." /> <#if errorNoRoleSelected??> <#assign errorMessage = "You must select a role." /> <#if errorPasswordIsEmpty??> <#assign errorMessage = "No password supplied." /> <#if errorPasswordIsWrongLength??> <#assign errorMessage = "Password must be between ${minimumLength} and ${maximumLength} characters." /> <#if errorPasswordsDontMatch??> <#assign errorMessage = "Passwords do not match." /> <#if errorMessage?has_content>
<#if externalAuthPermitted??> <#include "userAccounts-associateProfilePanel.ftl">

checked />Externally Authenticated Only

<#if roles?has_content>

Roles *

<#list roles as role>
<#if emailIsEnabled??>
class="hidden" role="region"> checked />

Note: Instructions for resetting the password will be emailed to the address entered above. The password will not be reset until the user follows the link provided in this email.

<#else>
class="hidden" role="region">

Minimum of ${minimumLength} characters in length.
Leaving this blank means that the password will not be changed.

or Cancel

* required fields

${stylesheets.add('')} ${stylesheets.add('')} ${scripts.add('', '', '', '')}