[BUGFIX] Login fails silently, when no backend for rsaauth is available
authorSteffen Gebert <steffen.gebert@typo3.org>
Mon, 10 Oct 2011 22:15:13 +0000 (00:15 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Sun, 23 Oct 2011 21:21:49 +0000 (23:21 +0200)
In case of no OpenSSL backend being available for rsaauth (e.g. after
moving to another server), the login silently fails.

Better throw an Exception and give useful hints, why no login is
possible and how to fix it.

Change-Id: I1b5d3f685a08699a2afdc62ec6eb71e6761966d9
Resolves: #30758
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/6204
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/rsaauth/hooks/class.tx_rsaauth_loginformhook.php

index 3fdae38..2d0ef15 100644 (file)
@@ -108,4 +108,4 @@ if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLA
        include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/rsaauth/hooks/class.tx_rsaauth_loginformhook.php']);
 }
 
-?>
\ No newline at end of file
+?>