From 98a9e3eb2fbfd70d98a73806951d0118d31c07f4 Mon Sep 17 00:00:00 2001 From: Craig Smith <952595+phpsa@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:34:37 +1300 Subject: [PATCH] copy & generate off by default --- src/Traits/CanCopy.php | 2 +- src/Traits/CanGenerate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Traits/CanCopy.php b/src/Traits/CanCopy.php index d58b893..483fa9d 100644 --- a/src/Traits/CanCopy.php +++ b/src/Traits/CanCopy.php @@ -6,7 +6,7 @@ trait CanCopy { - protected bool|Closure $copyable = true; + protected bool|Closure $copyable = false; protected string $copyIcon = 'heroicon-o-clipboard'; diff --git a/src/Traits/CanGenerate.php b/src/Traits/CanGenerate.php index f90925f..911bb17 100644 --- a/src/Traits/CanGenerate.php +++ b/src/Traits/CanGenerate.php @@ -9,7 +9,7 @@ trait CanGenerate { protected string $generateIcon = 'heroicon-o-key'; - protected bool|Closure $generatable = true; + protected bool|Closure $generatable = false; protected int $passwordMinLen = 8;