Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • keilo 568 posts 1023 karma points
    Sep 30, 2021 @ 11:28
    keilo
    0

    Controller for EditProfile Macro snippet

    I am using Umbraco version 7.15.7 assembly: 1.0.7706.20570

    and created the Partial View Macro from sample snippets EditProfile

    to test basic member profile update.

    When I run the sample (template calls the macro), on Save it redirects to the Home page ( "/") automatically, even when member is logged in just fine.

    I cant find the controller code for this sample, to check why its doing it.

    Would appreciate if someone can shed some light on the above.

    On related note: Trying to understand the basic backend logic, inline with the above, where the redirect path gets decided or similarly; where ProfleUpdateSuccess gets set

    var success = TempData["ProfileUpdateSuccess"] != null;

Please Sign in or register to post replies

Write your reply to:

Draft