diff options
Diffstat (limited to 'source4/scripting/libjs/auth.js')
-rw-r--r-- | source4/scripting/libjs/auth.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/libjs/auth.js b/source4/scripting/libjs/auth.js index a973cb4753..73d8645218 100644 --- a/source4/scripting/libjs/auth.js +++ b/source4/scripting/libjs/auth.js @@ -11,7 +11,8 @@ function getDomainList() { var ret = new Array(2); + var lp = loadparm_init(); ret[0] = "System User"; - ret[1] = lpGet("workgroup"); + ret[1] = lp.get("workgroup"); return ret; } |