mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 12:37:54 +08:00
optimization try out
This commit is contained in:
@ -63,7 +63,7 @@ class AuthController extends Controller
|
||||
}
|
||||
|
||||
// try out
|
||||
if ((int)config('v2board.try_out_enable', 0)) {
|
||||
if ((int)config('v2board.try_out_plan_id', 0)) {
|
||||
$plan = Plan::find(config('v2board.try_out_plan_id'));
|
||||
if ($plan) {
|
||||
$user->transfer_enable = $plan->transfer_enable * 1073741824;
|
||||
|
Reference in New Issue
Block a user