Best practice forum (Archived)

Maximum Characters

 
? ?
Maximum Characters
על ידי ? ? בתאריך 8/10/2012, 03:39
 

Hi All,

It appears there is a maximum character limit on the LMS password. 

Is there any way we can amend this to unlimited?  

Many Thanks

Chelle

David Curry (Core Developer)
Re: Maximum Characters
על ידי David Curry (Core Developer) בתאריך 8/10/2012, 13:36
קבוצה Totara

Hi Michelle,

There are a bunch of password settings located at siteroot/admin/settings.php?section=sitepolicies however these are minimum  size, consecutive characters etc.

What version of totara are you on? If you are on 2.2+ then you could try editing line #47 of login/index_form.html and change the 15 to 30 or so. this forum http://moodle.org/mod/forum/discuss.php?d=157194 suggests the upper limit of passwords would stretch up to 32. Would you ever need to go higher than that?

Let me know if this helps (or if you are on 1.1).

Cheers
David

Chris Nevett
Re: Maximum Characters
על ידי Chris Nevett בתאריך 9/10/2012, 01:14
 
That 32 limit relates to the database column which stores the password hash, which is always that length. There should be no actual limit to the unhashed password length beyond what is arbitrarily specified on the form input fields.
? ?
Re: Maximum Characters
על ידי ? ? בתאריך 14/10/2012, 23:43
 

Hi Chris & David

We are just getting ready to upgrade to 2.2+ so as soon as we have been upgarded I will have a look at this.

Many thanks for your help.

Michelle