Browse Source

old password verification bar removed

Alex Aragón 7 years ago
parent
commit
88b19e26af
3 changed files with 1 additions and 10 deletions
  1. 1 1
      app/Resources/public/css/base.css
  2. 0 5
      main/auth/inscription.php
  3. 0 4
      main/auth/profile.php

+ 1 - 1
app/Resources/public/css/base.css

@@ -5458,7 +5458,7 @@ div#chat-remote-video video {
     padding-top: 5px;
     padding-bottom: 5px;
 }
-#registration .progress{
+.progress{
     width: 100%;
     margin-top: 5px;
     margin-bottom: 5px;

+ 0 - 5
main/auth/inscription.php

@@ -186,11 +186,6 @@ if ($user_already_registered_show_terms === false) {
         ['id' => 'pass1', 'size' => 20, 'autocomplete' => 'off']
     );
 
-    $checkPass = api_get_setting('allow_strength_pass_checker');
-    if ($checkPass === 'true') {
-        $form->addElement('label', null, '<div id="password_progress"></div>');
-    }
-
     $form->addElement(
         'password',
         'pass2',

+ 0 - 4
main/auth/profile.php

@@ -314,10 +314,6 @@ if (is_platform_authentication() &&
     $form->addElement('password', 'password0', [get_lang('Pass'), get_lang('Enter2passToChange')], ['size' => 40]);
     $form->addElement('password', 'password1', get_lang('NewPass'), ['id' => 'password1', 'size' => 40]);
 
-    $checkPass = api_get_setting('allow_strength_pass_checker');
-    if ($checkPass == 'true') {
-        $form->addElement('label', null, '<div id="password_progress"></div>');
-    }
     $form->addElement('password', 'password2', get_lang('Confirmation'), ['size' => 40]);
     //    user must enter identical password twice so we can prevent some user errors
     $form->addRule(['password1', 'password2'], get_lang('PassTwo'), 'compare');