fix(saml_sso): donot load IDP metadata when disabling saml
This commit is contained in:
parent
af9e87c025
commit
c9194cd6b2
|
@ -100,6 +100,8 @@ desc(_) ->
|
||||||
%% APIs
|
%% APIs
|
||||||
%%------------------------------------------------------------------------------
|
%%------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
create(#{enable := false} = _Config) ->
|
||||||
|
{ok, undefined};
|
||||||
create(#{sp_sign_request := true} = Config) ->
|
create(#{sp_sign_request := true} = Config) ->
|
||||||
try
|
try
|
||||||
do_create(ensure_cert_and_key(Config))
|
do_create(ensure_cert_and_key(Config))
|
||||||
|
|
Loading…
Reference in New Issue