[frontend] fix build
This commit is contained in:
parent
727a4dfe88
commit
6abc8d80de
1 changed files with 3 additions and 2 deletions
|
@ -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("/");
|
||||
|
|
Loading…
Add table
Reference in a new issue