このコードで登録した後、手動でユーザーにログインしようとしています:
http://www.michelsalib.com/2011/04/pragmatically-authenticate-the-user-in-symfony2/
新しく作成したユーザーでは機能しませんが、ユーザー登録後に他の既存のユーザーにログインすると、すべて正常に機能します。ユーザーオブジェクトが完全ではないと思いましたが、registrerdユーザーをもう一度読み取ろうとしましたが、機能しません。
誰かが問題が何であるかについての考えを持っていますか?
どうもありがとうございます