Best practice forum (Archived)

Maximum Characters

 
Michelle Naylor
Maximum Characters
by Michelle Naylor - Monday, 8 October 2012, 3:39 AM
 

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
by David Curry (Core Developer) - Monday, 8 October 2012, 1:36 PM
Group 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
by Chris Nevett - Tuesday, 9 October 2012, 1:14 AM
 
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.
Michelle Naylor
Re: Maximum Characters
by Michelle Naylor - Sunday, 14 October 2012, 11:43 PM
 

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