Generate Password according to Minimum password strength

Discussion in 'Installation/Configuration' started by zion, Nov 4, 2014.

  1. zion

    zion Member

    This issue is related to http://www.howtoforge.com/forums/showthread.php?t=65839 and to http://www.howtoforge.com/forums/showthread.php?t=65833

    Bugtracker link: http://bugtracker.ispconfig.org/index.php?do=details&task_id=3500

    My problem is that I would like to use the Generate Password function without special characters in the password.
    I thougth if I change Minimum password strength to Good or Fair in System -> Main config -> Misc page then the generator will give me passwords without special characters. But it gives Very strong and Strong passwords always.
    I tried to refresh the page in the browser, logout/login with the user, and in a new browser too without success.

    Can you help me how can I use the Generate Password function without special characters?
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    To provide special-characters, you must change /usr/local/ispconfig/interface/web/js/scrigo.js. Find the line
    Code:
    var specialchars = "!@#_";
    and change the value or just use
    Code:
    var specialchars = "";
     
  3. zion

    zion Member

    Thank you! It works.
     

Share This Page