Skip to content

Commit

Permalink
if user is admin the FE should skip the verification step
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Nov 23, 2023
1 parent e10f6e6 commit c3ff6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Internal/v1/OnboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function createAccount(OnboardRequest $request)
'status' => 'success',
'session' => $user->uuid,
'token' => $token->plainTextToken,
'skipVerification' => $user->id === 1,
'skipVerification' => $isAdmin,
]);
}

Expand Down

0 comments on commit c3ff6d3

Please sign in to comment.