fix(auth): enforce password and agent role boundaries
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use App\Support\InvalidPlatformAgentRoleCleanup;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
InvalidPlatformAgentRoleCleanup::run();
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
// 不回滚:恢复跨站非法代理角色会重新扩大权限。
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user