Skip to content

Commit 19e43f6

Browse files
Compile
1 parent e4a6e38 commit 19e43f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_credential_validator_password_regexp.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ validate(Username, Password) ->
4444

4545
-spec validate(rabbit_types:username(), rabbit_types:password(), string()) -> 'ok' | {'error', string(), [any()]}.
4646

47-
validate(Username, Password, Pattern) ->
47+
validate(_Username, Password, Pattern) ->
4848
case re:run(rabbit_data_coercion:to_list(Password), Pattern) of
4949
{match, _} -> ok;
5050
nomatch -> {error, "provided password does not match the validator regular expression"}

0 commit comments

Comments
 (0)