Merge pull request #120 from whiteout-io/dev/WO-573

[WO-573] Use pattern validation for token input
This commit is contained in:
Tankred Hase 2014-09-17 15:53:27 +02:00
commit 42867880e7
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<div class="step" ng-show="step === 1">
<p><b>Key sync.</b> We have sent you an email containing a recovery token. Please copy and paste the token below to download your key.</p>
<input type="text" class="input-text" size="42" ng-model="recoveryToken" placeholder="Recovery token" focus-me="step === 1">
<input type="text" class="input-text" size="42" ng-model="recoveryToken" placeholder="Recovery token" focus-me="step === 1" pattern="^([a-z0-9]{6})$">
<fieldset>
<legend>Got USB?</legend>