Ignore:
Timestamp:
2011/01/20 04:31:21 (11 years ago)
Author:
AMUAMU
Message:

#847 (パラメータ DUMMY_PASS や DEFAULT_PASSWORD の廃止)の対応

DEFAULT_PASSWORDに統一

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php

    r19986 r20002  
    174174        $objForm->addParam('所属', 'department', STEXT_LEN, 'KV', array('MAX_LENGTH_CHECK')); 
    175175        $objForm->addParam('ログインID', 'login_id', '' , '', array('EXIST_CHECK', 'ALNUM_CHECK')); 
    176         if ($mode == "edit" && $_POST['password'] == DUMMY_PASS) { 
     176        if ($mode == "edit" && $_POST['password'] == DEFAULT_PASSWORD) { 
    177177            $objForm->addParam('パスワード', 'password', '' , '', array('EXIST_CHECK')); 
    178178        } else { 
     
    310310            $this->tpl_onfocus   = "fnClearText(this.name);"; 
    311311            $this->arrForm       = $this->getMemberData($_GET['id']); 
    312             $this->arrForm['password'] = DUMMY_PASS; 
     312            $this->arrForm['password'] = DEFAULT_PASSWORD; 
    313313            $this->tpl_old_login_id    = $this->arrForm['login_id']; 
    314314        // 新規作成モードで表示 
     
    402402        $sqlVal['work']   = $arrMemberData['work']; 
    403403        $sqlVal['update_date'] = 'NOW()'; 
    404         if($arrMemberData['password'] != DUMMY_PASS) { 
     404        if($arrMemberData['password'] != DEFAULT_PASSWORD) { 
    405405            $salt = SC_Utils_Ex::sfGetRandomString(10); 
    406406            $sqlVal['salt']     = $salt; 
Note: See TracChangeset for help on using the changeset viewer.