diff -r 90b7a52bea45 -r 62ee6685ad18 plugins/SpecialUserPrefs.php --- a/plugins/SpecialUserPrefs.php Sat Oct 20 21:59:27 2007 -0400 +++ b/plugins/SpecialUserPrefs.php Thu Nov 15 18:00:39 2007 -0500 @@ -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!
';