diff options
Diffstat (limited to 'swat')
-rw-r--r-- | swat/install/newuser.esp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/swat/install/newuser.esp b/swat/install/newuser.esp index 21a2cb361b..42c109df6b 100644 --- a/swat/install/newuser.esp +++ b/swat/install/newuser.esp @@ -9,6 +9,7 @@ <% var f = FormObj("newuser", 3, 2); var i; +var rand = random_init(); f.element[0].label = "User Name"; f.element[0].name = "USERNAME"; @@ -29,7 +30,7 @@ if (form['submit'] == "Add" && form.UNIXNAME = form.USERNAME; } if (form.PASSWORD == undefined) { - form.PASSWORD = randpass(); + form.PASSWORD = rand.randpass(); } newuser(form.USERNAME, form.UNIXNAME, form.PASSWORD, writefln); } else { |