From ec404fdb70ef79ead1a9a24a1b9a067b847923a4 Mon Sep 17 00:00:00 2001 From: Joel-David Date: Thu, 25 Jul 2024 21:58:45 +0800 Subject: [PATCH] Force fail if alogo contains md5 --- Chronos/Services/Import/ImportService.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Chronos/Services/Import/ImportService.swift b/Chronos/Services/Import/ImportService.swift index fa1c47e..28ab995 100644 --- a/Chronos/Services/Import/ImportService.swift +++ b/Chronos/Services/Import/ImportService.swift @@ -151,8 +151,7 @@ extension ImportService { case .sha512: tokenAlgo = TokenAlgorithmEnum.SHA512 case .md5: - // Hardcode to SHA1 first - tokenAlgo = TokenAlgorithmEnum.SHA1 + return nil default: tokenAlgo = TokenAlgorithmEnum.SHA1 }