Skip to content

Commit

Permalink
Force fail if alogo contains md5
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldavidw committed Jul 25, 2024
1 parent 05d7fb2 commit ec404fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Chronos/Services/Import/ImportService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ec404fd

Please sign in to comment.