diff --git a/src/Http/Controllers/CmsEditor/CmsEditorController.php b/src/Http/Controllers/CmsEditor/CmsEditorController.php index 7fe97414..5773d992 100644 --- a/src/Http/Controllers/CmsEditor/CmsEditorController.php +++ b/src/Http/Controllers/CmsEditor/CmsEditorController.php @@ -15,7 +15,12 @@ public function index() $widgetPage = new LayoutWidgetHelper(pageTitle: 'CMS Editor', widgetTitle: 'CMS Editor'); $widgetPage->widget->noPadding(); - $table = new LayoutTable(delete: false, edit: true, create: false); + $table = new LayoutTable( + delete: false, + edit: true, + create: false, + sort: false + ); $table->addHeader(new LayoutTableHeader('Main menu', 'table')); $row = new LayoutTableRow(1, '/app/editor/table/'); diff --git a/src/Providers/Auth/OpenIDUserProvider.php b/src/Providers/Auth/OpenIDUserProvider.php index ad0d9e8d..033bb9dd 100644 --- a/src/Providers/Auth/OpenIDUserProvider.php +++ b/src/Providers/Auth/OpenIDUserProvider.php @@ -93,8 +93,9 @@ public function retrieveByToken($identifier, $token) } $model->sub = $identifier; $model->save(); - - $model->sendEmailVerificationNotification(); + if ($model->email_verified_at === null) { + $model->sendEmailVerificationNotification(); + } return $model; }