Till Brehm
2014-08-25 0baacefd19b7d78ab2c31d947109dec82a17f1cd
interface/web/login/index.php
@@ -325,6 +325,15 @@
         $error = '<div class="box box_error"><h1>Error</h1>'.$error.'</div>';
      }
      
      $app->load('getconf');
      $security_config = $app->getconf->get_security_config('permissions');
      if($security_config['password_reset_allowed'] == 'yes') {
         $app->tpl->setVar('pw_lost_show', 1);
      } else {
         $app->tpl->setVar('pw_lost_show', 0);
      }
      $app->tpl->setVar('error', $error);
      $app->tpl->setVar('pw_lost_txt', $app->lng('pw_lost_txt'));
      $app->tpl->setVar('username_txt', $app->lng('username_txt'));