feat: added post deletion, linked account to post
This commit is contained in:
parent
08e54e7036
commit
184ba3a096
5 changed files with 72 additions and 109 deletions
|
@ -18,6 +18,7 @@
|
|||
<input type="password" id="password" @bind="Password" />
|
||||
</div>
|
||||
<a @onclick="login" href="javascript:void(0)">[Login]</a>
|
||||
<button @onclick="login" >Login</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
@ -46,12 +47,6 @@
|
|||
navManager.NavigateTo("/", true);
|
||||
return;
|
||||
}
|
||||
await js.InvokeVoidAsync("alert", $"Wrong creds:\n{BCrypt.Net.BCrypt.HashPassword(Password)}");
|
||||
await js.InvokeVoidAsync("alert", $"Wrong Password");
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
UserData target = (await UsersRepository.getUserByEmailAsync(Email));
|
||||
|
||||
*/
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue