tbrehm
2013-01-15 10b47ccebdb3c25faba6d1075a08c2b9fb63f827
interface/web/tools/user_settings.php
@@ -81,7 +81,9 @@
   function onBeforeUpdate() {
      global $app, $conf;
      
      if($_POST['passwort'] != $_POST['passwort2']) {
      if($conf['demo_mode'] == true && $this->id <= 3) $app->tform->errorMessage .= 'This function is disabled in demo mode.';
      if($_POST['passwort'] != $_POST['repeat_password']) {
         $app->tform->errorMessage = $app->tform->lng('password_mismatch');
      }
      $_SESSION['s']['user']['language'] = $_POST['language'];