]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
auth: have cgit calculate login address
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index be1265da6cb03ce99da6e1a68476164d660b10b9..994957f38a2b9116aed879fb4fcfb9461ac0f8e2 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -611,7 +611,8 @@ static inline void open_auth_filter(struct cgit_context *ctx, const char *functi
                ctx->env.https ? ctx->env.https : "",
                ctx->qry.repo ? ctx->qry.repo : "",
                ctx->qry.page ? ctx->qry.page : "",
                ctx->env.https ? ctx->env.https : "",
                ctx->qry.repo ? ctx->qry.repo : "",
                ctx->qry.page ? ctx->qry.page : "",
-               ctx->qry.url ? ctx->qry.url : "");
+               ctx->qry.url ? ctx->qry.url : "",
+               cgit_loginurl());
 }
 
 /* We intentionally keep this rather small, instead of looping and
 }
 
 /* We intentionally keep this rather small, instead of looping and