Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: Tank on May 01, 2013, 01:22:25

Title: [FIXED] Activation Email [Bug](?)
Post by: Tank on May 01, 2013, 01:22:25
Hey Team,

Been doing some testing component user. When a user registers, activation link is sent to email just fine.
However, after user activates and later changes email, the new activation email sent to the new address is incomplete:

example for localhost
Code: [Select]
http://localhost/user/activate.html?c=
That's it. The confirmation code is chopped off. Is this a gmail problem? Can anyone confirm?
If there's a certain area I need to look into, I'll be happy to look into it.

Thank you.
Title: Re: Activation Email [Bug](?)
Post by: datahell on May 01, 2013, 11:51:10
There is a misstype that causes this problem.

Open file components/com_user/controllers/members.php
go to line 461

Change this:
$this->activation = sha1($act);
to this:
$row->activation = sha1($act);

Thanks for the bug report!
Title: Re: Activation Email [Bug](?)
Post by: webgift on May 01, 2013, 12:38:45
SVN updated! ;)
Title: Re: [FIXED] Activation Email [Bug](?)
Post by: Tank on May 02, 2013, 03:59:44
Cool, thanks guys. I've updated topic to fixed. :)