]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5392 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Oct 2022 14:35:41 +0000 (16:35 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Oct 2022 14:35:41 +0000 (16:35 +0200)
app/Http/Controllers/Admin/Operations/FluidbookQuote/CreateFromWebsite.php
scripts/dockerterminal.bat

index 96cce4d9130b6497e76d86b6ab1ff8732f72309b..4dde1bb446f1654341f8ae7aeb62f226e75bfd63 100644 (file)
@@ -33,7 +33,7 @@ trait CreateFromWebsite
         if ($prenom == $nom) {
             return true;
         }
-        if (strlen($prenom) >= 4 && str_starts_with($nom, $prenom)) {
+        if (strlen($prenom) >= 4 && strlen($nom) >= 4 && (str_starts_with($nom, $prenom) || str_starts_with($prenom, $nom))) {
             return true;
         }
         return false;
index 70177327cf568c175793836f21be2accc805068f..8854aad8e70108645a2e0d4696b52a6ce361887a 100644 (file)
@@ -1,3 +1,3 @@
 @echo off
 cls
-C:\tools\cygwin\bin\ssh.exe -t root@alien.cubedesigners.com 'docker exec -it -u toolbox fluidbook-toolbox /bin/bash'
+C:\tools\cygwin\bin\ssh.exe -t root@toolbox.fluidbook.com 'docker exec -it -u toolbox fluidbook-toolbox /bin/bash'