Issue Task Closed

#103277Throw LogicException in HashService

Torben Hansen 03/04/24, 20:30 updated 07/09/24, 15:33

Description

The HashService class throws a custom EmptyAdditionalSecretException, when the $additionalSecret parameter is an empty string. The custom exception does however not suit well in this case, since the exception is caused by a developer not respecting the functions parameter requirements and the exception should not be catched. The custom exception should therefore be removed and a top level exception thrown instead.

Reviews 1