moov2 / Orchard.ActiveDirectoryAuthorization

Module for Orchard CMS that handles authorization for active directory users.
19 stars 15 forks source link

Ensuring content manager is flushed after creating user #7

Closed hughknz closed 11 years ago

hughknz commented 11 years ago

Hi,

I've made a small change to flush the content manager / session after the user is created. This ensures that the user can be queried by other subsequent callers (e.g. authentication service).

I also removed the_attemptedToSaveUser field check - it's not needed if the user can now be queried in the same request.

Please review/test and let me know if there are any issues :)

peterkeating commented 11 years ago

Will review this when I get time and merge it in. Thanks for the contribution :)