login by name or email

This commit is contained in:
Athou
2014-08-12 19:55:57 +02:00
parent 3c935a0b67
commit 34d7cb949d
2 changed files with 7 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
<div class="feedback alert alert-danger" ng-if="message">{{message}}</div>
<form ng-submit="login()">
<div class="form-group">
<label for="username">User Name</label>
<label for="username">User Name or E-mail</label>
<input type="text" name="username" class="form-control" ng-model="model.name"></input>
</div>
<div class="form-group">