Results 1 to 4 of 4

Thread: How to require passwords to have at least 8 characters

  1. #1
    enrikm is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    61

    Default How to require passwords to have at least 8 characters

    Good morning all,

    Can somebody point me in the right direction as to where I will edit the code to reject passwords if they are less than eight characters long.

    Thanks!

  2. #2
    enrikm is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    61

    Default Re: How to require passwords to have at least 8 characters

    Anyone have any ideas?

  3. #3
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: How to require passwords to have at least 8 characters

    Take a look at ChangePassword.php in <sugar root>/modules/Users.

    From my brief glance at it, it looks like you should be able to insert some Javascript code in there that checks the password's length.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  4. #4
    enrikm is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    61

    Default Re: How to require passwords to have at least 8 characters

    Ok thanks for the input, will give feedback if I'm able to make it work.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 2006-06-20, 03:38 PM
  2. Attachments and french characters
    By ymartin in forum General Discussion
    Replies: 0
    Last Post: 2006-04-05, 12:13 PM
  3. Trouble displaying some Japanese characters (UTF-8)
    By monsieurgerard in forum Help
    Replies: 2
    Last Post: 2005-08-12, 02:50 AM
  4. Replies: 4
    Last Post: 2004-12-02, 11:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •