Fix signature of hooks to work with modern friendica
This commit is contained in:
parent
6b32686443
commit
5e51a3f0ad
1 changed files with 2 additions and 2 deletions
|
@ -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, string &$body)
|
||||
{
|
||||
if (!saml_is_configured()) {
|
||||
Logger::warning('SAML SLO tried to trigger, but the SAML addon is not configured yet!');
|
||||
|
|
Loading…
Reference in a new issue