hide "enable_login_required"

master
Aevann 2023-05-17 21:10:03 +03:00
parent deca6cd918
commit 2b116dbebf
1 changed files with 2 additions and 1 deletions

View File

@ -410,7 +410,8 @@ MODACTION_PRIVILEGED_TYPES = {'shadowban', 'unshadowban',
'link_accounts', 'delink_accounts',
'progstack_post', 'progstack_comment',
'unprogstack_post', 'unprogstack_comment'
'enable_signups', 'delete_media'}
'enable_signups', 'delete_media',
'enable_login_required'}
MODACTION_PRIVILEGED__TYPES = {'progstack_post', 'progstack_comment',
'unprogstack_post', 'unprogstack_comment'}
MODACTION_TYPES_FILTERED = deepcopy({t:v for t,v in MODACTION_TYPES.items()