[TYPO3-core] RFC #9474: Integrate OpenID authentication support to TYPO3
Xavier Perseguers
typo3 at perseguers.ch
Fri Oct 3 14:02:43 CEST 2008
Dmitry Dulepov wrote:
> Hi!
>
> Xavier Perseguers wrote:
>> +1 based on testing. Doc is OK too but I would like to read something
>> about /dev/urandom that needs to be allowed for reading by the www user.
>
> Good point. I think we can modify sv1 to have this code before including
> OpenID library:
>
> // Make sure that random generator is properly set up
> if (!is_readable('/dev/urandom')) {
> if (is_readable('/dev/random')) {
> define('Auth_OpenID_RAND_SOURCE', '/dev/random');
> } else {
> define('Auth_OpenID_RAND_SOURCE', null);
> }
> }
+1 by reading
You may correct a typo too:
$this->writeDevLog('set_icnlude_path() PHP function is not available.
OpenID authentication is disabled.');
=> set_include_path()
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-team-core
mailing list