From 9ff815f85367a9b51ef36c958d2a04520a74f216 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Fri, 31 Jan 2020 21:39:32 +0800 Subject: [PATCH] update --- app/Http/Controllers/Admin/ConfigController.php | 4 ---- app/Http/Requests/Admin/ConfigSave.php | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/Http/Controllers/Admin/ConfigController.php b/app/Http/Controllers/Admin/ConfigController.php index 56bb1fbf..467a2f48 100755 --- a/app/Http/Controllers/Admin/ConfigController.php +++ b/app/Http/Controllers/Admin/ConfigController.php @@ -65,10 +65,6 @@ class ConfigController extends Controller ], 'tutorial' => [ 'apple_id' => config('v2board.apple_id') - ], - 'lab' => [ - 'auth_type' => (int)config('v2board.auth_type', 1), - 'auth_salt' => config('v2board.auth_salt') ] ] ]); diff --git a/app/Http/Requests/Admin/ConfigSave.php b/app/Http/Requests/Admin/ConfigSave.php index ba3ceeb3..76fae1fd 100755 --- a/app/Http/Requests/Admin/ConfigSave.php +++ b/app/Http/Requests/Admin/ConfigSave.php @@ -47,10 +47,7 @@ class ConfigSave extends FormRequest 'frontend_background_url' => 'nullable|url', // tutorial 'apple_id' => 'email', - 'apple_id_password' => '', - // lab - 'auth_type' => 'in:1,2', - 'auth_salt' => '' + 'apple_id_password' => '' ]; public static function filter()