auth lib: Minor fixes
commita4d08670c7537da92097e894ca0bd1faa991b1c0
authorAndreas Ericsson <ae@op5.se>
Tue, 23 Mar 2010 09:03:10 +0000 (23 10:03 +0100)
committerAndreas Ericsson <ae@op5.se>
Tue, 23 Mar 2010 09:03:10 +0000 (23 10:03 +0100)
tree9c2fe0f45297be9264621156c44b78eb56034f8c
parentc86331edb89245f464c692b4d11c2a4c24a2dff5
auth lib: Minor fixes

It's no point making auth_set_user() return anything, since it will
always succeed.

Also introduce auth_get_user(), which is nifty for deciding if we
should bother parsing cgi.cfg for permissions.

Signed-off-by: Andreas Ericsson <ae@op5.se>
auth.c
auth.h