Skip to content

Commit

Permalink
Reinstate 'alternative' auth option for now
Browse files Browse the repository at this point in the history
In case I've missed this – as the docs only explicitly talk about retiring
MD5. This also keeps unit tests passing without modification as they did
not explicitly test MD5.
  • Loading branch information
NoelLH committed Sep 21, 2021
1 parent d67dcf2 commit cf49aca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GovTalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@ public function getSenderEmailAddress()
public function setMessageAuthentication($messageAuthType)
{
switch ($messageAuthType) {
case 'alternative':
case 'clear':
$this->messageAuthType = $messageAuthType;
return true;
Expand Down

0 comments on commit cf49aca

Please sign in to comment.