r15343: Some small cleanups.
[samba.git] / swat / index.esp
index 566c7f8faefa08c08a7bee6db2269ae6b70abaa8..1924e4021056ac095cb2f45a235ba6e6f4939b12 100644 (file)
@@ -3,8 +3,8 @@
   libinclude("management.js");
   libinclude("provision.js");
 
-  if (install_ok() == false) {
-         redirect("/install/provision.esp");
+  if (install_ok(session.authinfo.session_info, session.authinfo.credentials) == false) {
+         redirect("/install/");
   }
 
 %>