Merge pull request #1316 from simcop2387/develop

Fix signature of SAML hooks to work with modern friendica
pull/1317/head
Hypolite Petovan 2022-11-19 21:48:24 -05:00 committed by GitHub
commit 5b25b03ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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!');
@ -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!');