aboutsummaryrefslogtreecommitdiff
path: root/filter.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-01-16 23:21:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-16 23:21:54 +0100
commita431326e8fab8153905fbde036dd3c9fb4cc8eaa (patch)
treeeaff3c6984a1c518c0180d5437853243ca6346a4 /filter.c
parentdf00ab1096868b3cffe563c48de5572f78b50392 (diff)
downloadcgit-a431326e8fab8153905fbde036dd3c9fb4cc8eaa.tar.gz
cgit-a431326e8fab8153905fbde036dd3c9fb4cc8eaa.tar.bz2
auth: have cgit calculate login address
This way we're sure to use virtual root, or any other strangeness encountered. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'filter.c')
-rw-r--r--filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.c b/filter.c
index a5e5e4b..5ee4e71 100644
--- a/filter.c
+++ b/filter.c
@@ -417,7 +417,7 @@ struct cgit_filter *cgit_new_filter(const char *cmd, filter_type filtertype)
switch (filtertype) {
case AUTH:
- argument_count = 11;
+ argument_count = 12;
break;
case EMAIL: