ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 9974


Ignore:
Timestamp:
Jan 7, 2009, 1:58:27 AM (14 years ago)
Author:
ebihara
Message:

fixed sfOpenPNESecurityUser doesn't distinct the authentication mode correctly

Location:
OpenPNE3/trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/lib/user/sfOpenPNESecurityUser.class.php

    r9901 r9974  
    147147    if ($this->isAuthenticated())
    148148    {
     149      $this->setCurrentAuthMode($this->getAuthAdapter()->getAuthModeName());
    149150      $uri = $this->getAuthAdapter()->getAuthForm()->getValue('next_uri');
    150151      return $uri;
  • OpenPNE3/trunk/lib/validator/opAuthValidatorMemberConfig.class.php

    r9892 r9974  
    4646    opActivateBehavior::disable();
    4747    $configName = $this->getOption('config_name');
    48     $fieldName = $this->getOption('field_name', $configName);
     48    $fieldName = $this->getOption('field_name');
     49    if (!$fieldName)
     50    {
     51      $fieldName = $configName;
     52    }
    4953    $memberConfig = MemberConfigPeer::retrieveByNameAndValue($configName, $values[$fieldName]);
    5054    if ($memberConfig)
Note: See TracChangeset for help on using the changeset viewer.