配置文件中的密文(blowfish_secret)太短
查看下配置文件more config.inc.php
-
/**
-
* This is needed for cookie based authentication to encrypt password in
-
* cookie. Needs to be 32 chars long.
-
*/
-
$cfg['blowfish_secret'] = 'abcdefghijklmnopqrstuvwxyzabcdefgh'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
因為我把$cfg['Servers'][$i]['auth_type'] 參數從config改為了cookie,我覺得這樣更方便,但是上面的參數要求cookie模式必須加長參數的值,默認是"xampp",顯然不夠32位,隨便設置一個夠32位即可。