diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-01-17 07:21:54 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-01-17 07:21:54 (JST) |
commit | a431326e8fab8153905fbde036dd3c9fb4cc8eaa (patch) | |
tree | eaff3c6984a1c518c0180d5437853243ca6346a4 /filter.c | |
parent | df00ab1096868b3cffe563c48de5572f78b50392 (diff) | |
download | cgit-a431326e8fab8153905fbde036dd3c9fb4cc8eaa.zip cgit-a431326e8fab8153905fbde036dd3c9fb4cc8eaa.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -417,7 +417,7 @@ struct cgit_filter *cgit_new_filter(const char *cmd, filter_type filtertype) | |||
417 | 417 | ||
418 | switch (filtertype) { | 418 | switch (filtertype) { |
419 | case AUTH: | 419 | case AUTH: |
420 | argument_count = 11; | 420 | argument_count = 12; |
421 | break; | 421 | break; |
422 | 422 | ||
423 | case EMAIL: | 423 | case EMAIL: |