I am making a new application and I was looking into the $_SESSION data after logging in. I saw that I can find my password in hash there?!?! Like why? I want to remove the password from the $_SESSION but I don't know how I can do that.
The weirdest thing is: I followed the CMS tutorial from the cookbook.
What I did? I changed my User entity to the following code without any results:
Does someone know what I can do to remove the password from the session? Its really really unsafe to store the password there....