aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/login
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-09 17:51:25 +0200
committerChocobozzz <me@florianbigard.com>2018-08-09 17:55:05 +0200
commit141b177db088891e84040f68aa95008fb52f1d44 (patch)
tree20168077514c920f5b4da4696707db55f51b158d /client/src/app/login
parent63347a0ff966c7863e5b7431effa1cb0668df893 (diff)
downloadPeerTube-141b177db088891e84040f68aa95008fb52f1d44.tar.gz
PeerTube-141b177db088891e84040f68aa95008fb52f1d44.tar.zst
PeerTube-141b177db088891e84040f68aa95008fb52f1d44.zip
Add ability to ban/unban users
Diffstat (limited to 'client/src/app/login')
-rw-r--r--client/src/app/login/login.component.html1
-rw-r--r--client/src/app/login/login.component.ts2
2 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html
index fac63d44d..3a6d61327 100644
--- a/client/src/app/login/login.component.html
+++ b/client/src/app/login/login.component.html
@@ -50,7 +50,6 @@
50 </form> 50 </form>
51</div> 51</div>
52 52
53<!--<ng-template #forgotPasswordModal (onShown)="onForgotPasswordModalShown()">-->
54<ng-template #forgotPasswordModal> 53<ng-template #forgotPasswordModal>
55 <div class="modal-header"> 54 <div class="modal-header">
56 <h4 i18n class="modal-title">Forgot your password</h4> 55 <h4 i18n class="modal-title">Forgot your password</h4>
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts
index 8e8822510..7c0220885 100644
--- a/client/src/app/login/login.component.ts
+++ b/client/src/app/login/login.component.ts
@@ -69,7 +69,7 @@ export class LoginComponent extends FormReactive implements OnInit {
69 askResetPassword () { 69 askResetPassword () {
70 this.userService.askResetPassword(this.forgotPasswordEmail) 70 this.userService.askResetPassword(this.forgotPasswordEmail)
71 .subscribe( 71 .subscribe(
72 res => { 72 () => {
73 const message = this.i18n( 73 const message = this.i18n(
74 'An email with the reset password instructions will be sent to {{email}}.', 74 'An email with the reset password instructions will be sent to {{email}}.',
75 { email: this.forgotPasswordEmail } 75 { email: this.forgotPasswordEmail }