fix(authn): fix the authentication instance cannot run after the update
This commit is contained in:
parent
c73205a589
commit
31e2d9d2c0
|
@ -935,7 +935,7 @@ switch_version(State = #{version := ?VER_1}) ->
|
|||
switch_version(State = #{version := ?VER_2}) ->
|
||||
State#{version := ?VER_1};
|
||||
switch_version(State) ->
|
||||
State#{version => ?VER_1}.
|
||||
State#{version => ?VER_2}.
|
||||
|
||||
authn_type(#{mechanism := Mechanism, backend := Backend}) ->
|
||||
{Mechanism, Backend};
|
||||
|
|
Loading…
Reference in New Issue