Current time: 12-24-2024, 05:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Client gets empty password in welcome email
Author Message
Towelie Offline
Junior Member
*

Posts: 11
Joined: Feb 2010
Reputation: 0
Post: #1
Client gets empty password in welcome email
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
03-30-2010 01:01 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Client gets empty password in welcome email
Fixed in 1.0.5
03-30-2010 01:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Towelie Offline
Junior Member
*

Posts: 11
Joined: Feb 2010
Reputation: 0
Post: #3
RE: Client gets empty password in welcome email
Supposedly that patch was fixing it ?

Isn't that the same thing you did for 1.05 ?
03-30-2010 01:39 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #4
RE: Client gets empty password in welcome email
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
03-30-2010 04:01 AM
Quote this message in a reply
Towelie Offline
Junior Member
*

Posts: 11
Joined: Feb 2010
Reputation: 0
Post: #5
RE: Client gets empty password in welcome email
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);
(This post was last modified: 03-30-2010 07:39 AM by Towelie.)
03-30-2010 07:36 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #6
RE: Client gets empty password in welcome email
Hello ;

http://www.isp-control.net/ispcp/changeset/2738
03-30-2010 04:54 PM
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)