ispCP - Board - Support
Client gets empty password in welcome email - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: Client gets empty password in welcome email (/thread-10179.html)



Client gets empty password in welcome email - Towelie - 03-30-2010 01:01 AM

After a client creates his account by the reseller order interface and the reseller confirms the account, the email that client receives should contain his initial generated password, but I get an empty field:
Code:
Password:

The email template looks like this:
Code:
User type: {USERTYPE}
User name: {USERNAME}
Password: {PASSWORD}

I mention that I already read and applied the patch here:
http://www.isp-control.net/ispcp/ticket/2249
but it doesn't seem to change anything.

Before the upgrade to 1.04, the password generation was working.

OS: CentOS 5.4
ispCP : 1.04


RE: Client gets empty password in welcome email - gOOvER - 03-30-2010 01:19 AM

Fixed in 1.0.5


RE: Client gets empty password in welcome email - Towelie - 03-30-2010 01:39 AM

Supposedly that patch was fixing it ?

Isn't that the same thing you did for 1.05 ?


RE: Client gets empty password in welcome email - Nuxwin - 03-30-2010 04:01 AM

Hello:

Confirmed. The bug exist under ispCP 1.0.5. The customer password is generated and present in the database but not included in the confirmation mail.

Code:
Hello Declercq Laurent!

A new ispCP account has been created for you.

Your account information:http://www.isp-control.net/ispcp/ticket/2308

User type: Domain account
User name: test.fr
Password:

Remember to change your password often and the first time you login.

You can login right now at http://panel.nuxwin.com Statistics: http://test.fr/stats/ User name: test.fr Password:

Best wishes with ispCP! The ispCP Team.

Best Regards;



EDIT: Ticket created:http://www.isp-control.net/ispcp/ticket/2308


RE: Client gets empty password in welcome email - Towelie - 03-30-2010 07:36 AM

Solved:

edit /var/www/ispcp/gui/reseller/orders_add.php

find around line 41:
Code:
$inpass = crypt_user_pass( passgen(), true );

replace with :

Code:
$pure_user_pass = passgen();
$inpass = crypt_user_pass( $pure_user_pass , true);



RE: Client gets empty password in welcome email - Nuxwin - 03-30-2010 04:54 PM

Hello ;

http://www.isp-control.net/ispcp/changeset/2738