core: add PRIV_USER_PROFILE to judge account

This commit is contained in:
undefined committed 2021-02-23 12:06:45 +08:00
1 parent de908236e3
commit ac6ccc438b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -256,7 +256,7 @@ export async function setSuperAdmin(uid: number) {
}
export async function setJudge(uid: number) {
await setPriv(uid, PRIV.PRIV_JUDGE);
await setPriv(uid, PRIV.PRIV_USER_PROFILE | PRIV.PRIV_JUDGE);
return uid;
}