Skip to content

Commit

Permalink
Update WidgetsSettingsController.php (#448)
Browse files Browse the repository at this point in the history
Small typo
  • Loading branch information
atsanna authored Mar 19, 2024
1 parent bb77ec6 commit b5a13da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/Controllers/WidgetsSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private function savePolarAreaSettings()
*/
public function resetSettings(): \CodeIgniter\HTTP\RedirectResponse
{
if (! auth()->user()->can('wiedgets.settings')) {
if (! auth()->user()->can('widgets.settings')) {
return redirect()->to(ADMIN_AREA)->with('error', lang('Bonfire.notAuthorized'));
}

Expand Down

0 comments on commit b5a13da

Please sign in to comment.