Commit 67894c8c authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'fix-forward-port' into 'master'

Fix the forward ssh port, we already set it, so we cannot use //=

See merge request !26
parents e9e4fdd7 969be624
Pipeline #625 passed with stages
in 1 minute and 18 seconds
......@@ -369,7 +369,7 @@ if ($ldapEntry) {
}
if (my $ldapLoginForwardPort = $ldapEntry->get_value('awitLoginForwardPort')) {
logger('INFO'," - Forward port ".color('green')."%s".color('reset')." (awitLoginForwardPort)",$ldapLoginForwardPort);
$forwardPort //= $ldapLoginForwardPort;
$forwardPort = $ldapLoginForwardPort;
}
if (my $ldapLoginForwardUsername = $ldapEntry->get_value('awitLoginForwardUsername')) {
logger('INFO'," - Forward user ".color('green')."%s".color('reset')." (awitLoginForwardUsername)",$ldapLoginForwardUsername);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment