[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
|
<input
|
||||||
@bind="@Username"/>
|
@bind="@Username"/>
|
||||||
<input type="password" required="required"
|
<input type="password" required="required"
|
||||||
@bind="@Password"/>
|
@bind="@Password"/>
|
||||||
<button @onclick="Submit" disabled="@Loading">Login</button>
|
<button @onclick="Submit" disabled="@Loading">Login</button>
|
||||||
</div>
|
</div>
|
||||||
@if (Loading)
|
@if (Loading)
|
||||||
|
@ -58,7 +58,8 @@
|
||||||
BannerUrl = res.User.BannerUrl,
|
BannerUrl = res.User.BannerUrl,
|
||||||
InstanceName = res.User.InstanceName,
|
InstanceName = res.User.InstanceName,
|
||||||
InstanceIconUrl = res.User.InstanceIconUrl,
|
InstanceIconUrl = res.User.InstanceIconUrl,
|
||||||
Token = res.Token!
|
Token = res.Token!,
|
||||||
|
Host = res.User.Host
|
||||||
});
|
});
|
||||||
SessionService.SetSession(res.User.Id);
|
SessionService.SetSession(res.User.Id);
|
||||||
Navigation.NavigateTo("/");
|
Navigation.NavigateTo("/");
|
||||||
|
|
Loading…
Add table
Reference in a new issue