Project Details Page
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary w-100">Login</button>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<span>Noch keinen Account? </span>
|
||||
<a href="/createuser" class="link-primary text-decoration-none">Registrieren</a>
|
||||
</div>
|
||||
</EditForm>
|
||||
|
||||
|
||||
@@ -49,7 +54,7 @@
|
||||
var result = await response.Content.ReadFromJsonAsync<LoginResponse>();
|
||||
|
||||
await AuthService.LoginAsync(result!.Token);
|
||||
Nav.NavigateTo("/users");
|
||||
Nav.NavigateTo("/");
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user