add email whitelist config

This commit is contained in:
Tokumeikoi 2020-02-09 18:02:13 +08:00
parent 214fb2a2bf
commit d417e70475

View File

@ -20,7 +20,8 @@ class CommController extends Controller
return response([
'data' => [
'isEmailVerify' => (int)config('v2board.email_verify', 0) ? 1 : 0,
'isInviteForce' => (int)config('v2board.invite_force', 0) ? 1 : 0
'isInviteForce' => (int)config('v2board.invite_force', 0) ? 1 : 0,
'isEmailSuffix' => (int)config('v2board.email_suffix_enable', 0) ? 1 : 0
]
]);
}