WARNING: Plain password authentication is used, this will expose your passwords to administrators.
'; echo ''; } # Generate a warning if administrator/root is valid. $t_admin_user_id = user_get_id_by_name( 'administrator' ); if ( $t_admin_user_id !== false ) { if ( user_is_enabled( $t_admin_user_id ) && auth_does_password_match( $t_admin_user_id, 'root' ) ) { echo 'WARNING: You should disable the default "administrator" account or change its password.
'; echo 'WARNING: Admin directory should be removed.
'; echo '