diff options
Diffstat (limited to 'rt/etc/acl.Sybase')
-rw-r--r-- | rt/etc/acl.Sybase | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/rt/etc/acl.Sybase b/rt/etc/acl.Sybase index 6192b4ebe..7583c02e3 100644 --- a/rt/etc/acl.Sybase +++ b/rt/etc/acl.Sybase @@ -1,6 +1,10 @@ + sub acl { -return ( -"SP_ADDLOGIN ${RT::DatabaseUser}, ${RT::DatabasePassword}, ${RT::DatabaseName} ", -); + my $db_name = RT->Config->Get('DatabaseName'); + my $db_user = RT->Config->Get('DatabaseUser'); + my $db_pass = RT->Config->Get('DatabasePassword'); + + return ("SP_ADDLOGIN $db_user, $db_pass, $db_name"); } + 1; |