summaryrefslogtreecommitdiff
path: root/swat/index.esp
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-10 10:35:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:02 -0500
commit75ef0ba513489a85557cb486135d80286d620809 (patch)
treedfc696095f47deda33984b38d97475faa377f74b /swat/index.esp
parent195f5c3635159013fa14fbe0d34283b8237b0667 (diff)
downloadsamba-75ef0ba513489a85557cb486135d80286d620809.tar.gz
samba-75ef0ba513489a85557cb486135d80286d620809.tar.bz2
samba-75ef0ba513489a85557cb486135d80286d620809.zip
r12823: Fix up the provison and newuser code in SWAT. This also cleans up the
main provision script a bit, as the argument list was getting out of control. (It has been replaced in part with an object). This also returns the session_info from the auth code into ejs. We still need access control allowing only root to re-provision. Andrew Bartlett (This used to be commit 002cdcf3cab6563909d31edc5d825e857dc0a732)
Diffstat (limited to 'swat/index.esp')
-rw-r--r--swat/index.esp2
1 files changed, 1 insertions, 1 deletions
diff --git a/swat/index.esp b/swat/index.esp
index c0bfbdec05..1924e40210 100644
--- a/swat/index.esp
+++ b/swat/index.esp
@@ -3,7 +3,7 @@
libinclude("management.js");
libinclude("provision.js");
- if (install_ok() == false) {
+ if (install_ok(session.authinfo.session_info, session.authinfo.credentials) == false) {
redirect("/install/");
}