Permalink
Browse files

Fixed user being set into the token.

  • Loading branch information...
1 parent 5f32469 commit 77dd3c1096c7431bc9acf29f5665a0b40b9f5af8 @richsage committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Security/Authentication/Provider/WsseProvider.php
View
2 Security/Authentication/Provider/WsseProvider.php
@@ -38,7 +38,7 @@ public function authenticate( TokenInterface $token )
)
{
$authenticatedToken = new WsseUserToken(array('IS_AUTHENTICATED'));
- $authenticatedToken->setUser( $user->getAuthToken() );
+ $authenticatedToken->setUser($user);
$authenticatedToken->setAuthenticated( TRUE );
return $authenticatedToken;

0 comments on commit 77dd3c1

Please sign in to comment.