mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update AdminInviteCommand, fix skip email validation flag
This commit is contained in:
parent
8a1fa38550
commit
870dbd15df
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class AdminInviteCommand extends Command
|
|||
$invite->description = $description;
|
||||
$invite->message = $message;
|
||||
$invite->max_uses = $max_uses;
|
||||
$invite->skip_email_verification = $skipEmailVerification;
|
||||
$invite->skip_email_verification = $skipEmailVerification === 'Yes';
|
||||
$invite->expires_at = $expires;
|
||||
$invite->invite_code = Str::uuid() . Str::random(random_int(1,6));
|
||||
$invite->save();
|
||||
|
|
Loading…
Reference in a new issue