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> <ul>
{{#if this.canEditName}} {{#if this.canEditName}}
<li> <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> </li>
{{/if}} {{/if}}
{{#if this.canEditPassword}} {{#if this.canEditPassword}}
<li> <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> </li>
{{/if}} {{/if}}