client/users: fix patterns in account settings

This commit is contained in:
rr- 2016-04-12 13:48:31 +02:00
parent 21c15f4cb9
commit 68c966ff7d
1 changed files with 2 additions and 2 deletions

View File

@ -5,13 +5,13 @@
<ul>
{{#if this.canEditName}}
<li>
{{textInput text='User name' id='user-name' name='name' value=this.user.name}}
{{textInput text='User name' id='user-name' name='name' value=this.user.name pattern=this.userNamePattern}}
</li>
{{/if}}
{{#if this.canEditPassword}}
<li>
{{passwordInput text='Password' id='user-password' name='password' placeholder='leave blank if not changing'}}
{{passwordInput text='Password' id='user-password' name='password' placeholder='leave blank if not changing' pattern=this.passwordPattern}}
</li>
{{/if}}