Commit f988c5f8 authored by NGPixel's avatar NGPixel

fix: logout URL endpoint option for oauth2 module

parent 90098162
......@@ -35,5 +35,12 @@ module.exports = {
}
})
)
},
logout (conf) {
if (!conf.logoutURL) {
return '/'
} else {
return conf.logoutURL
}
}
}
......@@ -49,3 +49,8 @@ props:
default: email
maxWidth: 500
order: 7
logoutURL:
type: String
title: Logout URL
hint: (optional) Logout URL on the OAuth2 provider where the user will be redirected to complete the logout process.
order: 8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment