Commit 7609bbf9 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #17228 TIME 0:30 Disable disconnection button + disable update password for azure_saml

parent 2e73cef4
......@@ -61,7 +61,7 @@ use User\models\UserSignatureModel;
class UserController
{
const ALTERNATIVES_CONNECTIONS_METHODS = ['sso', 'cas', 'ldap', 'keycloak', 'shibboleth'];
const ALTERNATIVES_CONNECTIONS_METHODS = ['sso', 'cas', 'ldap', 'keycloak', 'shibboleth', 'azure_saml'];
public function get(Request $request, Response $response)
{
......
......@@ -78,7 +78,7 @@ export class HeaderRightComponent implements OnInit {
}
showLogout() {
return ['sso'].indexOf(this.authService.authMode) > -1 && this.functions.empty(this.authService.authUri) ? false : true;
return ['sso', 'azure_saml'].indexOf(this.authService.authMode) > -1 && this.functions.empty(this.authService.authUri) ? false : true;
}
goTo() {
......
......@@ -127,7 +127,7 @@ export class AuthService {
async logout(cleanUrl: boolean = true, forcePageLogin: boolean = false) {
this.clearFilters();
if (['cas', 'keycloak', 'azure_saml'].indexOf(this.authMode) > -1 && !forcePageLogin) {
if (['cas', 'keycloak'].indexOf(this.authMode) > -1 && !forcePageLogin) {
this.SsoLogout(cleanUrl);
} else {
// HANDLE LOGOUT IN GUARD FOR PROCESS
......
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