This commit is contained in:
Tokumeikoi 2020-01-31 21:39:32 +08:00
parent b61e641dad
commit 9ff815f853
2 changed files with 1 additions and 8 deletions

View File

@ -65,10 +65,6 @@ class ConfigController extends Controller
], ],
'tutorial' => [ 'tutorial' => [
'apple_id' => config('v2board.apple_id') 'apple_id' => config('v2board.apple_id')
],
'lab' => [
'auth_type' => (int)config('v2board.auth_type', 1),
'auth_salt' => config('v2board.auth_salt')
] ]
] ]
]); ]);

View File

@ -47,10 +47,7 @@ class ConfigSave extends FormRequest
'frontend_background_url' => 'nullable|url', 'frontend_background_url' => 'nullable|url',
// tutorial // tutorial
'apple_id' => 'email', 'apple_id' => 'email',
'apple_id_password' => '', 'apple_id_password' => ''
// lab
'auth_type' => 'in:1,2',
'auth_salt' => ''
]; ];
public static function filter() public static function filter()