Skip to content

Commit

Permalink
fix: corrected config names to rename
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Dec 15, 2023
1 parent 9821f82 commit bb7e116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/setup/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
$faqConfig->add('main.enableNotifications', true);

// update options
$faqConfig->rename('security.loginWithEmailAddress', 'security.loginWithEmailAddress');
$faqConfig->rename('main.loginWithEmailAddress', 'security.loginWithEmailAddress');
if ($faqConfig->get('security.permLevel') === 'large') {
$faqConfig->set('security.permLevel', 'medium');
}
Expand Down

0 comments on commit bb7e116

Please sign in to comment.