feat: added post deletion, linked account to post

This commit is contained in:
limited_dev 2023-02-02 18:50:50 +01:00
parent 08e54e7036
commit 184ba3a096
5 changed files with 72 additions and 109 deletions

View file

@ -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));
*/
}