Fix requiring verification in closet page
This commit is contained in:
parent
b626832475
commit
79e5909bdd
|
|
@ -15,7 +15,7 @@ class ClosetController extends Controller
|
||||||
{
|
{
|
||||||
return view('user.closet')
|
return view('user.closet')
|
||||||
->with('extra', [
|
->with('extra', [
|
||||||
'unverified' => option('require_verification') && ! $user->verified,
|
'unverified' => option('require_verification') && ! auth()->user()->verified,
|
||||||
'rule' => trans('user.player.player-name-rule.'.option('player_name_rule')),
|
'rule' => trans('user.player.player-name-rule.'.option('player_name_rule')),
|
||||||
'length' => trans(
|
'length' => trans(
|
||||||
'user.player.player-name-length',
|
'user.player.player-name-length',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user