This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch jwt-enhancements
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit ebe81b45d08815b26021b3380a8a358c72c7ea78
Author: Robert Newson <[email protected]>
AuthorDate: Thu Mar 19 10:54:40 2020 +0000

    no need to deduplicate this list
---
 src/couch/src/couch_httpd_auth.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_httpd_auth.erl 
b/src/couch/src/couch_httpd_auth.erl
index 7c55f39..6b85a02 100644
--- a/src/couch/src/couch_httpd_auth.erl
+++ b/src/couch/src/couch_httpd_auth.erl
@@ -211,7 +211,7 @@ get_configured_algorithms() ->
     re:split(config:get("jwt_auth", "allowed_algorithms", "HS256"), "\s*,\s*", 
[{return, binary}]).
 
 get_configured_claims() ->
-    lists:usort(re:split(config:get("jwt_auth", "required_claims", ""), 
"\s*,\s*", [{return, binary}])).
+    re:split(config:get("jwt_auth", "required_claims", ""), "\s*,\s*", 
[{return, binary}]).
 
 cookie_authentication_handler(Req) ->
     cookie_authentication_handler(Req, couch_auth_cache).

Reply via email to