Allowing customization of authentication options thru gitolite.rc

This commit is contained in:
miiihi 2011-05-31 17:18:27 +02:00 committed by Sitaram Chamarty
parent 7a0f517afe
commit f8812b7822
2 changed files with 3 additions and 2 deletions

View file

@ -907,7 +907,8 @@ sub setup_authkeys
# command and options for authorized_keys
my $AUTH_COMMAND="$ENV{GL_BINDIR}/gl-auth-command";
$AUTH_COMMAND="$ENV{GL_BINDIR}/gl-time $ENV{GL_BINDIR}/gl-auth-command" if $GL_PERFLOGT;
my $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
# set default authentication options
$AUTH_OPTIONS ||= "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
# START