diff options
Diffstat (limited to 'src/auth.cpp')
-rw-r--r-- | src/auth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.cpp b/src/auth.cpp index ff5c4bc..35d6d23 100644 --- a/src/auth.cpp +++ b/src/auth.cpp @@ -134,7 +134,7 @@ bool t_auth::authorize(t_user *user_config, t_request *r, t_response *resp) { } // Only DIGEST is supported - if (c.auth_scheme != AUTH_DIGEST) { + if (cmp_nocase(c.auth_scheme, AUTH_DIGEST) != 0) { log_file->write_header("t_auth::authorize"); log_file->write_raw("Unsupported authentication scheme: "); log_file->write_raw(c.auth_scheme); |