mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
b61e641dad
commit
9ff815f853
@ -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')
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user