Menu

Tank Auth and i18n library

hincelin
2011-04-20
2013-05-02
  • hincelin

    hincelin - 2011-04-20

    Hi all,
    I'm novice with codeigniter framework and I'm using tank auth source code with i18n library.
    It's works apparently good (swith fr->eng url ok) but mail activation system don't works any more.
    URL received is good : http://127.0.0.1/name_project/en/auth/activate/3/aaa53b0d2c6a136eb2cc98d37c643d21
    But auth_message_activation_failed message appears.

    What code segment must I change in tank auth to use it with i18n library ?

    Sincerely.

     
  • Anonymous

    Anonymous - 2011-12-14

    Hincelin,
    You have to change the auth controller:

    function activate()
    {
            $user_id        = [b]$this->uri->segment(4)[/b];
            $new_email_key  = [b]$this->uri->segment(5)[/b];
    
     

Log in to post a comment.