Added logic to keep banned users out of site
This commit is contained in:
parent
c848994c1d
commit
26df91262f
4 changed files with 28 additions and 6 deletions
|
|
@ -317,7 +317,7 @@ class adminUserBanList{
|
|||
entryRow.appendChild(newCell(ban.user.user));
|
||||
entryRow.appendChild(newCell(new Date(ban.user.date).toDateString()));
|
||||
entryRow.appendChild(newCell(new Date(ban.banDate).toDateString()));
|
||||
entryRow.appendChild(newCell(`${expirationDate.toDateString()} (${expirationDays} days left)`));
|
||||
entryRow.appendChild(newCell(`${expirationDate.toDateString()} (${expirationDays} day(s) left)`));
|
||||
entryRow.appendChild(newCell(ban.permanent ? "Account Deletion" : "Un-Ban"));
|
||||
entryRow.appendChild(newCell([unbanIcon, nukeAccount]));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue