add ocid based login
This commit is contained in:
parent
d83309d4cd
commit
34af2b1fab
12 changed files with 131 additions and 28 deletions
|
|
@ -337,7 +337,11 @@ pandora.ui.accountSignoutDialog = function() {
|
|||
that.close();
|
||||
pandora.UI.set({page: ''});
|
||||
pandora.api.signout({}, function(result) {
|
||||
pandora.signout(result.data);
|
||||
if (pandora.site.site.oidc) {
|
||||
pandora.oidcLogout();
|
||||
} else {
|
||||
pandora.signout(result.data);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue