Changeset 20002


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

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

DEFAULT_PASSWORDに統一

Location:
branches/version-2_5-dev
Files:
3 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; 
  • branches/version-2_5-dev/data/mtb_constants_init.php

    r20001 r20002  
    116116/** 認証文字列 */ 
    117117define('CERT_STRING', "7WDhcBTF"); 
    118 /** ダミーパスワード */ 
    119 define('DUMMY_PASS', "########"); 
    120118/** 生年月日登録開始年 */ 
    121119define('BIRTH_YEAR', 1901); 
  • branches/version-2_5-dev/html/install/sql/insert_data.sql

    r20001 r20002  
    10811081INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SITE_FRAME', '"site_frame.tpl"', 79, '一般サイト画面フレーム'); 
    10821082INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('CERT_STRING', '"7WDhcBTF"', 80, '認証文字列'); 
    1083 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('DUMMY_PASS', '"########"', 81, 'ダミーパスワード'); 
    10841083INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('BIRTH_YEAR', '1901', 83, '生年月日登録開始年'); 
    10851084INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('RELEASE_YEAR', '2005', 84, '本システムの稼働開始年'); 
Note: See TracChangeset for help on using the changeset viewer.