Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

After Profile Avatar Submit/Edit handler

Hi Team,

I wanted to redirect the page to profile page after profile/picture submit or edit. This was due to delay in Gdn::session->photo update. I tried profileController_AfterEdit_handler, did not work.

I tried the js reload after form submit but it also did not work because the page refresh after choose file is not updating the Gdn::session->photo. I tried settimeout but it's not firing due to page refresh.



  • Options

    Fixed it by using userModel_afterSave_handler then header location to profile page.

Sign In or Register to comment.