[frontend] fix build

This commit is contained in:
Lilian 2024-05-15 20:07:31 +02:00
parent 727a4dfe88
commit 6abc8d80de
No known key found for this signature in database
GPG key ID: 007CA12D692829E1

View file

@ -12,7 +12,7 @@
<input
@bind="@Username"/>
<input type="password" required="required"
@bind="@Password"/>
@bind="@Password"/>
<button @onclick="Submit" disabled="@Loading">Login</button>
</div>
@if (Loading)
@ -58,7 +58,8 @@
BannerUrl = res.User.BannerUrl,
InstanceName = res.User.InstanceName,
InstanceIconUrl = res.User.InstanceIconUrl,
Token = res.Token!
Token = res.Token!,
Host = res.User.Host
});
SessionService.SetSession(res.User.Id);
Navigation.NavigateTo("/");