mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
add email whitelist config
This commit is contained in:
parent
214fb2a2bf
commit
d417e70475
@ -20,7 +20,8 @@ class CommController extends Controller
|
|||||||
return response([
|
return response([
|
||||||
'data' => [
|
'data' => [
|
||||||
'isEmailVerify' => (int)config('v2board.email_verify', 0) ? 1 : 0,
|
'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
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user