--- a/web/thdProject/apps/frontend/modules/account/actions/openidLoginAction.class.php Wed May 12 15:22:12 2010 +0200
+++ b/web/thdProject/apps/frontend/modules/account/actions/openidLoginAction.class.php Tue Jun 01 17:40:18 2010 +0200
@@ -14,7 +14,7 @@
if ($authResult['result'] == sfPHPOpenID::AUTH_SUCCESS) {
// User is authenticated by open id provider
$serviceUri = sfConfig::get('app_openid_service_uri');
- $login = substr($authResult['identity'], strlen($serviceUri));
+ $login = substr($authResult['identity'], strlen($serviceUri)-1);
$login = str_replace('/', '', $login);
$user->login($login);
} else {
@@ -23,4 +23,4 @@
return $this->redirect('@homepage');
}
-}
\ No newline at end of file
+}