Add missing return in saml plugin
This commit is contained in:
parent
016e3eb1a8
commit
e16d5506b6
@ -238,10 +238,12 @@ async function loadSettingsAndCreateProviders (
|
||||
"#text": options.name_id
|
||||
}
|
||||
|
||||
store.serviceProvider.create_logout_request_url(store.identityProvider, options, (err, logoutUrl, requestId) => {
|
||||
store.serviceProvider.create_logout_request_url(store.identityProvider, options, (err, logoutUrl) => {
|
||||
if (err) {
|
||||
reject('Cannot SAML 2 logout.', { err })
|
||||
return
|
||||
}
|
||||
|
||||
resolve(logoutUrl)
|
||||
})
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user