Open Closed

mismatch passed model to changePassword page #9373


User avatar
0
g.hasan@tatweermea.com created

changePassword page expected to load with openiddict but it is loaded as changePassword model version 9.0.4 ..... i didn't change change/update the changePassword page as it is embedded pages so account folder is empty...

when click on customized default page :


6 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, can you please provide information? For example, what is your ABP version, or did you change/update the changePassword page?

    Regards.

  • User Avatar
    0
    g.hasan@tatweermea.com created

    Hi, can you please provide information? For example, what is your ABP version, or did you change/update the changePassword page? version 9.0.4 ..... yes, when login of customized default page Regards.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Thanks for updating the main question and providing version. However, I need more information to better assist you. So, can you please explain what you did, and how can I reproduce the same problem?

    For example, what do you mean by saying "when click on customized default page"? Also, please share all of your steps.

  • User Avatar
    0
    g.hasan@tatweermea.com created

    I just added Themes/LeptonX/Layouts/Account/Default.cshtml as mentioned here https://abp.io/docs/latest/framework/ui/mvc-razor-pages/customization-user-interface you can find the full code here https://drive.google.com/file/d/1FqyJQ2p8F6k_n8IoKMMgmJD7ZJu5WNHE/view?usp=drive_link

  • User Avatar
    0
    g.hasan@tatweermea.com created

    [EngincanV] said: Thanks for updating the main question and providing version. However, I need more information to better assist you. So, can you please explain what you did, and how can I reproduce the same problem?

    For example, what do you mean by saying "when click on customized default page"? Also, please share all of your steps.

    in 2nd screenShot .we customized UI form of login page ..so when submit button of this form it runs coding of action embeded login class Account/Login , then it is redirected to changePassword page but what's passed in changePassword page as viewDataDictionary is OpenIddictSupportedLoginModel which u can see it as model before form tag in 2nd screenShot ...the error : is expected ChangePasswordModel to be passed to embedded view Page

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    I've customized the login page with your default.cshtml file but unable to reproduce your problem. Please share your solution via email to support@abp.io with ticket number, so I can directly check from your project.

    Regards.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 13, 2025, 11:37