Skip to content

Commit

Permalink
Merge pull request #1316 from simcop2387/develop
Browse files Browse the repository at this point in the history
Fix signature of SAML hooks to work with modern friendica
  • Loading branch information
MrPetovan authored Nov 20, 2022
2 parents 6b32686 + a09dd57 commit 5b25b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions saml/saml.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function saml_is_configured()
DI::config()->get('saml', 'idp_cert');
}

function saml_sso_initiate(App $a, array &$b)
function saml_sso_initiate(App $a, string &$body)
{
if (!saml_is_configured()) {
Logger::warning('SAML SSO tried to trigger, but the SAML addon is not configured yet!');
Expand Down Expand Up @@ -173,7 +173,7 @@ function saml_sso_reply(App $a)
}
}

function saml_slo_initiate(App $a, array &$b)
function saml_slo_initiate(App $a)
{
if (!saml_is_configured()) {
Logger::warning('SAML SLO tried to trigger, but the SAML addon is not configured yet!');
Expand Down

0 comments on commit 5b25b03

Please sign in to comment.