diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-29 16:09:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-29 16:09:50 +0100 |
commit | ba12e8b3a6de8ac82101894abe7460b392fec42a (patch) | |
tree | 5f75741fde6b3be093c885c23c582b6d0d3cec20 /client/src/app/login | |
parent | 61c04fa9b3566b769b260e414fe59df77cd77031 (diff) | |
download | PeerTube-ba12e8b3a6de8ac82101894abe7460b392fec42a.tar.gz PeerTube-ba12e8b3a6de8ac82101894abe7460b392fec42a.tar.zst PeerTube-ba12e8b3a6de8ac82101894abe7460b392fec42a.zip |
Add ability to login with email
Diffstat (limited to 'client/src/app/login')
-rw-r--r-- | client/src/app/login/login.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index 24807987c..a69acfcb1 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html | |||
@@ -7,9 +7,9 @@ | |||
7 | 7 | ||
8 | <form role="form" (ngSubmit)="login()" [formGroup]="form"> | 8 | <form role="form" (ngSubmit)="login()" [formGroup]="form"> |
9 | <div class="form-group"> | 9 | <div class="form-group"> |
10 | <label for="username">Username</label> | 10 | <label for="username">Username or email address</label> |
11 | <input | 11 | <input |
12 | type="text" id="username" placeholder="Username" required | 12 | type="text" id="username" placeholder="Username or email address" required |
13 | formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }" | 13 | formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }" |
14 | > | 14 | > |
15 | <div *ngIf="formErrors.username" class="form-error"> | 15 | <div *ngIf="formErrors.username" class="form-error"> |