mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 08:39:09 +08:00
update
This commit is contained in:
parent
13dbb143f8
commit
6e7da97fcd
@ -64,7 +64,7 @@ class AuthController extends Controller
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$user->invite_user_id = $inviteCode->user_id ? $inviteCode->user_id : null;
|
$user->invite_user_id = $inviteCode->user_id ? $inviteCode->user_id : null;
|
||||||
if (!(int)config('v2board.invite_never_expire', env('V2BOARD_INVITE_NEVER_EXPIRE'))) {
|
if (!(int)config('v2board.invite_never_expire', 0)) {
|
||||||
$inviteCode->status = 1;
|
$inviteCode->status = 1;
|
||||||
$inviteCode->save();
|
$inviteCode->save();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user