feat: 编辑已过审帖子自动退回审核队列
This commit is contained in:
29
composer.json
Normal file
29
composer.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "metazone/reapprove-on-edit",
|
||||
"description": "编辑已通过审核的帖子时自动退回审核队列,防止恶意绕过审核。",
|
||||
"type": "flarum-extension",
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"flarum/core": "^1.0",
|
||||
"flarum/approval": "^1.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"MetaZone\\ReapproveOnEdit\\": "src/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"flarum-extension": {
|
||||
"title": "Reapprove On Edit",
|
||||
"icon": {
|
||||
"name": "fas fa-shield-alt",
|
||||
"backgroundColor": "#e67e22",
|
||||
"color": "#fff"
|
||||
}
|
||||
},
|
||||
"flarum-locale": {
|
||||
"code": "en",
|
||||
"title": "English"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user