Fix a bunch of plugins to cope with moved load_prefs/validate files.
[squirrelmail.git] / plugins / administrator / auth.php
index ce90d21e0b3249980a49385090e6f663aaf5843b..2271582c7aac3abbc613a4cce4c22788f8f83c14 100644 (file)
@@ -24,6 +24,9 @@ function adm_check_user() {
         $adm = posix_getpwuid( $adm_id );
         $auth = ( $username == $adm['name'] );
     }
+    else {
+        $auth = FALSE;
+    }
 
     return( $auth );