Forums / General / Automatic password

Automatic password

Author Message

Franck T.

Wednesday 28 July 2004 1:06:23 am

Hi all.
Whenever I create a new user and set a password for him, the system automatically generate a new password !! I'd like to know why, and how to prevent this, please.

ez version 3.4

Ekkehard Dörre

Wednesday 28 July 2004 3:50:50 am

Hi, go into site.ini
search for

[UserSettings]
# If true it will automatically generate a password if it is empty
# and email it to the user.
GeneratePasswordIfEmpty=true

and set it to

[UserSettings]
# If true it will automatically generate a password if it is empty
# and email it to the user.
GeneratePasswordIfEmpty=false

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Franck T.

Wednesday 28 July 2004 4:32:16 am

I've tried to modify the site.ini file through the admin interface (Setup tab -> inisettings) but it doesn't take effect at all.
I'm now going to edit it manually (even it's not recommended). Hope it'll work.

Frederik Holljen

Wednesday 28 July 2004 5:16:52 am

It's not recommended to edit site.ini itself. The preferred way is to edit the override file, in your case override/site.ini.append(.php). Simply set the setting to the value you prefer in that file.

Franck T.

Wednesday 28 July 2004 6:47:11 am

Can anyone explain to me what does the line "GeneratePasswordLength=6" mean ?

Eivind Marienborg

Wednesday 28 July 2004 6:56:54 am

I believe it to be the length of the created password. 6 characters, that is.

Mikhail Chekanov

Monday 24 January 2005 7:28:22 am

When <b>GeneratePasswordIfEmpty</b> is set to <i>true</i> the system send an additional e-mail to user with automatically generated password even a password field was filled correctly. If the setting set to <i>false</i> the system allow empty passwords. Is it correct behaviour?

I need the system neither generate password when appropriate field is filled nor allow empty passwords. This should be a correct procedure, isn't it? Or I've broken something myself?

eZ Publish version is 3.5.0

 

--
mike
#6595551