Skip to content

Commit 6eeace8

Browse files
committed
Fix user create parser
1 parent e301401 commit 6eeace8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Parsers/Access/ParserCreateUserQuery.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ namespace
8888
expect_public_ssh_key = true;
8989
else if (check_type == AuthenticationType::HTTP)
9090
expect_http_auth_server = true;
91+
else if (check_type == AuthenticationType::JWT)
92+
expect_claims = true;
9193
else if (check_type != AuthenticationType::NO_PASSWORD)
9294
expect_password = true;
93-
else if (check_type != AuthenticationType::JWT)
94-
expect_claims = true;
9595

9696
break;
9797
}

0 commit comments

Comments
 (0)