jaliss/securesocial — Issue #36: Allow customisation of the name of user field added to renderArgs
Author: timrwilliams
Created: 2012-02-19 20:12:30+00:00
State: open

Currently module inserts a user object in to the render args to allow access to the SocialUser in templates. However the recommended usage of SocialUser is to translate it to a custom domain user that is persisted in the database so it is that user object which is more useful in templates.

I'd like to be able to specify in config what securesocial calls its injected user render arg. e.g. i'd reserve the "user" renderArgs for my own user object and rename the securesocial one to "socialuser".