mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-09-23 21:33:45 +00:00
wip: profile component
This commit is contained in:
@@ -36,8 +36,8 @@ export class RegistrationComponent implements OnInit {
|
||||
onSubmit() {
|
||||
this.api.registerUser(this.form.value.username, this.form.value.password, this.form.value.email).subscribe(
|
||||
res=> {
|
||||
this.router.navigate(['']);
|
||||
this.api.saveSessionInfoToLocalStorage(res);
|
||||
this.router.navigate(['/']);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user