コード例 #1
0
ファイル: main.php プロジェクト: nemein/openpsa
 public function trusted_login($username)
 {
     if ($GLOBALS['midcom_config']['auth_allow_trusted'] !== true) {
         debug_add("Trusted logins are prohibited", MIDCOM_LOG_ERROR);
         return false;
     }
     return $this->_auth_backend->create_trusted_login_session($username);
 }