Commit 4f5d826d authored by Jie Yuan's avatar Jie Yuan
Browse files

add password placeholder

parent 52b10722
......@@ -67,7 +67,7 @@
<form class="form-signin" #form="ngForm" (ngSubmit)="onSubmit(form)" ngNativeValidate>
<span id="reauth-email" class="reauth-email"></span>
<input type="username" id="inputEmail" class="form-control" [(ngModel)]="model.username" name="username" placeholder="Username/Email" required autofocus>
<input type="password" id="inputPassword" class="form-control" [(ngModel)]="model.password" name="password" placeholder="" required>
<input type="password" id="inputPassword" class="form-control" [(ngModel)]="model.password" name="password" placeholder="Password" required>
<!-- <div id="remember" class="checkbox">
<label>
......
......@@ -34,7 +34,7 @@ export class LoginComponent implements OnInit {
console.log(this.model);
this.authService.credentialAuthenticate(this.model);
//console.log(this.authService.authenticated);
console.log('66666666666666666666');
//console.log('66666666666666666666');
//if (this.model.username === 'svmon' && this.model.password === 'svmon123') {
/**if (this.authService.authenticated ) {
this.authService.login()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment