$GLOBALS['registry']->getAuth(null); // ); // // // Example #2: Use IMP password/username. // Django : 2013-02-04 // Eintrag aktiviert für die Authentifizierung mit username und password // gegen unseren mySQL-Datenbankserver $ob = $GLOBALS['registry']->call('mail/imapOb'); return array( 'password' => $ob->getParam('password'), 'username' => $ob->getParam('username') ); } // // // DEFAULT: Use hordeauth (identical to not defining hook at all). // return true; } /** * Set the default addresses used for the vacation module. * * @param string $user The username. * * @return array A list of vacation addresses. */ // public function vacation_addresses($user = null) // { // // Example #1: User has 2 vacation addresses. // return array($user . '@example.com', $user . '@foobar.com'); // } }