fix redirect after login

This commit is contained in:
Mads Rasmussen
2022-05-31 14:54:10 +02:00
parent 3fea6baf70
commit 3f5911c2dd

View File

@@ -62,7 +62,7 @@ export class UmbLogin extends UmbContextConsumerMixin(LitElement) {
await postUserLogin({ username, password, persist });
this._loggingIn = false;
// TODO: how do we know where to go?
this._router?.push('/section/Content');
this._router?.push('/section/content');
} catch (error) {
console.log(error);
this._loggingIn = false;