diff --git a/app/Actions/Jetstream/DeleteUser.php b/app/Actions/Jetstream/DeleteUser.php index 442a50d6..7adbeed0 100644 --- a/app/Actions/Jetstream/DeleteUser.php +++ b/app/Actions/Jetstream/DeleteUser.php @@ -28,7 +28,7 @@ class DeleteUser implements DeletesUsers /** * Delete the given user. * - * @param mixed $user + * @param mixed $user */ public function delete($user): void { @@ -43,7 +43,7 @@ class DeleteUser implements DeletesUsers /** * Delete the teams and team associations attached to the user. * - * @param mixed $user + * @param mixed $user */ protected function deleteTeams($user): void { diff --git a/config/jetstream.php b/config/jetstream.php index 9c12240a..10f81c96 100644 --- a/config/jetstream.php +++ b/config/jetstream.php @@ -62,7 +62,7 @@ return [ Features::profilePhotos(), // Features::api(), Features::teams(['invitations' => true]), - Features::accountDeletion(), + //Features::accountDeletion(), ], /* diff --git a/resources/views/profile/delete-user-form.blade.php b/resources/views/profile/delete-user-form.blade.php index 364da8e0..92d16416 100644 --- a/resources/views/profile/delete-user-form.blade.php +++ b/resources/views/profile/delete-user-form.blade.php @@ -33,7 +33,11 @@ {{ __('Cancel') }} - + {{ __('Delete Account') }} diff --git a/resources/views/profile/show.blade.php b/resources/views/profile/show.blade.php index b8a79955..29ca6738 100644 --- a/resources/views/profile/show.blade.php +++ b/resources/views/profile/show.blade.php @@ -1,9 +1,6 @@ - -

- {{ __('Profile') }} -

-
+ +
@@ -42,4 +39,6 @@ @endif
+ +