removed console logs that show password

This commit is contained in:
Finn 2019-08-20 14:33:44 +01:00
parent 4b42a08af1
commit 03e9e365fc
No known key found for this signature in database
GPG key ID: 7455B4B17685B598
2 changed files with 0 additions and 5 deletions

View file

@ -40,15 +40,11 @@ export class LoginComponent implements OnInit {
}
onSubmit() {
console.log(this.signin.value);
this.api
.login(this.signin.value)
.subscribe(
result => {
console.log('logged in!');
this.loginStatus = 'success';
console.log(this.loginStatus);
this.router.navigate([this.returnUrl]);
},
error => {

View file

@ -116,7 +116,6 @@ export class RegisterComponent {
town: organisationForm.town,
postcode: organisationForm.postcode,
};
console.log(data);
this.api
.register(data)
.subscribe(