From a431326e8fab8153905fbde036dd3c9fb4cc8eaa Mon Sep 17 00:00:00 2001 From: Jason A. Donenfeld Date: Thu, 16 Jan 2014 23:21:54 +0100 Subject: 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 --- ui-shared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui-shared.h') diff --git a/ui-shared.h b/ui-shared.h index 5987e77..889c28f 100644 --- a/ui-shared.h +++ b/ui-shared.h @@ -4,6 +4,7 @@ extern const char *cgit_httpscheme(); extern const char *cgit_hosturl(); extern const char *cgit_rooturl(); +extern const char *cgit_loginurl(); extern char *cgit_repourl(const char *reponame); extern char *cgit_fileurl(const char *reponame, const char *pagename, const char *filename, const char *query); -- cgit v1.2.3-70-g09d2