Warning: The author of this contribution does not provide support for it anymore.

ACP Add User MOD

No DEFAULT_PASS passed to adm\styles\acp_add_user.html - ACP Add User MOD

No DEFAULT_PASS passed to adm\styles\acp_add_user.html

by contiw » Fri Jul 02, 2010 12:46 am

Greetings. Noob here. Please bear with me.
After latest modifications to change default password :

There is no default password displayed on top of the form and
I keep getting the error : "The password you entered is too short"

--------

Rechecking my edits, I have noticed the following (which I don't undestand because I am a nooob) :

in includesacpacp_board.php
around lines 72,76, there are two 'legend3', like this :

'legend3' => 'DEFAULT_PASS',
'default_password' => array('lang' => 'DEFAULT_PASS', 'validate' => 'string', 'type' => 'text:30:255', 'explain' => false),
and again
'legend3' => 'ACP_SUBMIT_CHANGES',

in includesacpacp_add_user.php
around lines 103,110, there are two 'new_password', like this :

'new_password' => array(
array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),
array('password')),
'password_confirm' => array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),

'new_password' => array(
array('string', false, $config['min_pass_chars'], $config['max_pass_chars'])),

Is this ok?
I have tried a few changes with no results, then put everything back as original.
Sorry, I am more lost then Adam on mother's day. Just learning.

Thanks for the help.
contiw
Registered User
Posts: 83
Joined: Tue Jun 01, 2010 4:23 am