Restful-authentication (activation_code and user.reload)



I solved one of my problems with restful-authentication plugin: the
sent activation_code was different than the one in the db.

I found the solution in the readme:

“Pay attention, may be this is not an issue for everybody, but if you
should have problems, that the sent activation_code does match with
that in the database stored, reload your user object before sending
its data through email something like:”

I put the user.reload into the observer and now it works, but i don’t
understand why.

Can you tell me?