Bug 8557 - Unexpected behavior with scanners
[koha.git] / mainpage.pl
index f834985..78daf38 100755 (executable)
@@ -60,4 +60,11 @@ $template->param(
     pendingsuggestions => $pendingsuggestions
 );
 
+#
+# warn user if he is using mysql/admin login
+#
+unless ($loggedinuser) {
+    $template->param(adminWarning => 1);
+}
+
 output_html_with_http_headers $query, $cookie, $template->output;