Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
[samba.git] / swat / index.esp
index 2e43d3f9cfcf52c5a2bf9ab28a31aa3af0c0641d..1924e4021056ac095cb2f45a235ba6e6f4939b12 100644 (file)
@@ -1,10 +1,10 @@
-<% page_header("columns", "Server Status", "");
+<% page_header("columns", "Server Status", "main");
   libinclude("base.js");
   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/");
   }
 
 %>