SUBST: Dynamicaly generate contexts
[citadel.git] / webcit / auth.c
index 45c78592d34c3a8a89091ee4696bdb871ef28cc8..e2b8390e5218575b1ca69b1502aebdd1421542ab 100644 (file)
@@ -45,7 +45,7 @@ void initialize_axdefs(void) {
        axdefs[5] = _("Preferred User");
 
        /* chief */
-       axdefs[6] = _("Aide");          
+       axdefs[6] = _("Admin");          
 }
 
 
@@ -499,7 +499,7 @@ void do_logout(void)
        /* Calling output_headers() this way causes the cookies to be un-set */
        output_headers(1, 1, 0, 1, 0, 0);
        do_template("logout");
-       if (WC->serv_info->serv_supports_guest) {
+       if ((WCC->serv_info != NULL) && WCC->serv_info->serv_supports_guest) {
                display_default_landing_page();
                return;
        }