Allowing customization of authentication options thru gitolite.rc
This commit is contained in:
parent
7a0f517afe
commit
f8812b7822
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue