feat: made accounts deleteable, other changes
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
c20c5c9343
commit
8f38879294
10 changed files with 116 additions and 35 deletions
|
@ -39,6 +39,7 @@ else
|
|||
|
||||
private List<PostData> posts;
|
||||
|
||||
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
try
|
||||
|
|
|
@ -78,6 +78,12 @@
|
|||
return;
|
||||
}
|
||||
postUsername = foundusr.LastUsedName;
|
||||
if (!foundusr.ConfirmedEmail)
|
||||
{
|
||||
hasErr = true;
|
||||
postErr = "You cannot post without an verified email.";
|
||||
return;
|
||||
}
|
||||
await base.OnAfterRenderAsync(firstRender);
|
||||
}
|
||||
|
||||
|
|
|
@ -84,6 +84,12 @@
|
|||
return;
|
||||
}
|
||||
postUsername = foundusr.LastUsedName;
|
||||
if (!foundusr.ConfirmedEmail)
|
||||
{
|
||||
hasErr = true;
|
||||
postErr = "You cannot post without an verified email.";
|
||||
return;
|
||||
}
|
||||
await base.OnAfterRenderAsync(firstRender);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue