Commit 1bd118df authored by gap95's avatar gap95
Browse files

Resolved PR comments

parent f38dbf6a
......@@ -33,7 +33,7 @@ export class RegisterPage implements OnInit {
.subscribe((data) => {
console.log('my data: ', data);
this.restService.setToken(data.token);
this.router.navigateByUrl('/home');
this.router.navigateByUrl('/login');
}, (error) => {
console.log(error);
this.correctCredentials = true;
......
Supports Markdown
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