I think in one of my earlier patches I removed the first call to mailhandler_switch_user() so user wasn't being saved. The initialization seemed to work in a really odd way. I reimplemented mailhandler_switch_user to use a user stack...

CommentFileSizeAuthor
mailhandler_switch_user.patch1.17 KBdopry

Comments

moshe weitzman’s picture

anyone available to review this? if not, dopry can just go head and commit in a few days.

moshe weitzman’s picture

this function needs to implement the new session_save_session() function (see end of session.inc in 5.2+). that makes impresonation safer.

moshe weitzman’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.