This commit is contained in:
Tokumeikoi 2020-01-31 21:30:44 +08:00
parent a9eff7bea9
commit b61e641dad
2 changed files with 8 additions and 1 deletions

View File

@ -65,6 +65,10 @@ 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,7 +47,10 @@ 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()