diff -r 8877bbfccc38 -r 6a4573507ff8 plugins/SpecialUserPrefs.php --- a/plugins/SpecialUserPrefs.php Thu Nov 01 15:13:27 2007 -0400 +++ b/plugins/SpecialUserPrefs.php Fri Nov 02 15:38:20 2007 -0400 @@ -212,6 +212,8 @@ if ( strlen($newpass) > 0 ) { + if ( defined('ENANO_DEMO_MODE') ) + $errors .= '
You can\'t change your password in demo mode.
'; // Perform checks if ( strlen($newpass) < 6 ) $errors .= '
Password must be at least 6 characters. You hacked my script, darn you!
';