r12823: Fix up the provison and newuser code in SWAT. This also cleans up the
[kai/samba.git] / swat / index.esp
index c0bfbdec05387aaf220e0f778c935ecc1965d558..1924e4021056ac095cb2f45a235ba6e6f4939b12 100644 (file)
@@ -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/");
   }