Show
Ignore:
Timestamp:
07/04/08 01:30:16 (5 months ago)
Author:
kumatch
Message:

Adjusted the change of authenticated user (self) object.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/piece_framework/trunk/web/frontend/webapp/actions/AuthenticationAction.php

    r14873 r15136  
    6464 
    6565        try { 
    66             $loginUser = Phwittr_Service::authenticate($this->_user->userName, 
     66            $self = Phwittr_Service::authenticate($this->_user->userName, 
    6767                                                  $this->_user->password 
    6868                                                  ); 
    6969 
    7070            $session = $this->_context->getSession(); 
    71             $session->setAttributeByRef('loginUser', $loginUser); 
     71            $session->setAttributeByRef('self', $self); 
    7272 
    7373            $authentication = &new Piece_Unity_Service_Authentication();