Fix error display on signup page
authorChocobozzz <florian.bigard@gmail.com>
Wed, 29 Nov 2017 08:07:09 +0000 (09:07 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Wed, 29 Nov 2017 08:07:09 +0000 (09:07 +0100)
client/src/app/signup/signup.component.html

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