diff options
-rw-r--r-- | module/mod_auth_singleid.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/mod_auth_singleid.c b/module/mod_auth_singleid.c index 8167139..e9e6a0a 100644 --- a/module/mod_auth_singleid.c +++ b/module/mod_auth_singleid.c @@ -1190,6 +1190,11 @@ hook_authenticate (request_rec* r) req.sess = NULL; req.output = NULL; + /* We never authenticate these special paths, that clients request without user */ + if (compare_paths ("/favicon.ico", r->uri) == 0 || + compare_paths ("/robots.txt", r->uri) == 0) + return OK; + /* Should we logout? */ if (compare_paths (ctx->logout_path, r->uri) == 0) { session_send_clear (ctx, r); |