GEANT / simplesamlphp-module-selfregister

SimpleSAMLphp Selfregister Module
MIT License
10 stars 14 forks source link

Stop using the SimpleSAML_Session::setAttribute() method #5

Closed jaimeperez closed 8 years ago

jaimeperez commented 9 years ago

The SimpleSAML_Session::setAttribute() method has been long deprecated and it is now deleted. It is no longer possible to push changes into the data stored during login, including attributes, so we need an alternative. Here we're pushing the updated attributes into the data storage of the session. This means every time we want to fetch the attributes, we also need to check that data storage to see if there's updated attributes in the current session.