Skip to content

Commit

Permalink
Set Admin Account verified by default
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jul 10, 2024
1 parent ef79b99 commit cd49dfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install/steps/7-finish.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@

$account_used->setCustomField('web_flags', FLAG_ADMIN + FLAG_SUPER_ADMIN);
$account_used->setCustomField('country', 'us');
$account_used->setCustomField('email_verified', 1);

if($db->hasColumn('accounts', 'group_id'))
$account_used->setCustomField('group_id', $groups->getHighestId());
if($db->hasColumn('accounts', 'type'))
Expand Down

0 comments on commit cd49dfc

Please sign in to comment.