mirror of
https://git.zx2c4.com/cgit
synced 2025-07-24 04:35:46 +02:00
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>
This commit is contained in:
parent
df00ab1096
commit
a431326e8f
6 changed files with 16 additions and 10 deletions
2
filter.c
2
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue