From a95cfc5ac8d23529c98f9797e0c973a778e57fbf Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 28 Aug 2024 20:59:00 +0200 Subject: [PATCH] Improved usability & security by removing the implicit operator --- app/MindWork AI Studio/Tools/EncryptedText.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/MindWork AI Studio/Tools/EncryptedText.cs b/app/MindWork AI Studio/Tools/EncryptedText.cs index 34b24c99..2676980e 100644 --- a/app/MindWork AI Studio/Tools/EncryptedText.cs +++ b/app/MindWork AI Studio/Tools/EncryptedText.cs @@ -8,6 +8,4 @@ public readonly record struct EncryptedText(string EncryptedData) { throw new SecurityException("Please provide the encrypted data."); } - - public static implicit operator string(EncryptedText encryptedText) => encryptedText.EncryptedData; } \ No newline at end of file