]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Display error message in signup page (#128)
authorAndréas Livet <andreas.livet@gmail.com>
Tue, 28 Nov 2017 14:51:18 +0000 (15:51 +0100)
committerBigard Florian <me@florianbigard.com>
Tue, 28 Nov 2017 14:51:18 +0000 (15:51 +0100)
client/src/app/signup/signup.component.html

index b8b7826eb54a9b8402f7676615858b0ccf424da0..ce123fb280157dbccc6ce3578646f851a4ee8492 100644 (file)
@@ -3,7 +3,7 @@
 
   <h3>Signup</h3>
 
-  <div *ngIf="error" class="alert alert-danger">{{ error }}</div>
+  <div *ngIf="error" class="alert alert-danger">Error : {{ error.message }}</div>
 
   <form role="form" (ngSubmit)="signup()" [formGroup]="form">
     <div class="form-group">