2012-09-17 35 views
0

我在codeigniter-restserver中進行認證時遇到了問題。認證codeigniter-restserver

當我將配置:$config['rest_auth']設置爲basicdigest,我似乎無法通過驗證,使用標準登錄。

還有什麼我需要考慮的?

回答

0

我想你一定在填充的允許的用戶名和密碼/application/config/rest.php

$config['rest_valid_logins'] = array('user1' => 'password');