|
@@ -173,6 +173,8 @@ update(Config, _State) ->
|
|
|
|
|
|
|
|
authenticate(#{auth_method := _}, _) ->
|
|
authenticate(#{auth_method := _}, _) ->
|
|
|
ignore;
|
|
ignore;
|
|
|
|
|
+authenticate(#{password := undefined}, _) ->
|
|
|
|
|
+ {error, bad_username_or_password};
|
|
|
authenticate(
|
|
authenticate(
|
|
|
#{password := Password} = Credential,
|
|
#{password := Password} = Credential,
|
|
|
#{
|
|
#{
|