fix: logout URL endpoint option for oauth2 module

This commit is contained in:
NGPixel
2020-09-09 20:20:55 -04:00
parent 9009816290
commit f988c5f811
2 changed files with 12 additions and 0 deletions

View File

@@ -35,5 +35,12 @@ module.exports = {
}
})
)
},
logout (conf) {
if (!conf.logoutURL) {
return '/'
} else {
return conf.logoutURL
}
}
}