Base solution for your next web application
Open Closed

Reset Password link to a blank screen #4072


User avatar
0
fguo created

I am using Core + Angular v4.5.1. When user click "Forget password?" or "Email activation", he gets an email with a link. Clicking the link results a blank screen. I tried to copy/paste the link to a browser (Edge or Chrome). It happens same.

Is it a bug on v4.5?


4 Answer(s)
  • User Avatar
    0
    fguo created

    BTW, the link url is like <a class="postlink" href="http://sub.mydomain.com/account/reset-password?userId=6&resetCode=1594AB7C31&tenantId=1">http://sub.mydomain.com/account/reset-p ... tenantId=1</a>

    I just realized that not only the above url responses a blank screen, but also the login page is blank. I now can't login the application at all. It works days ago, and nothing changed on the server. All other .NET Core web sites on the same IIS are working fine. It looks like the IIS suddenly no longer to support Angular 2.

    I tried to reboot IIS and the server, but no help. Does anybody have same experience?

  • User Avatar
    0
    fguo created

    Just run it again and watch the browser console. There is an error as below which I don't understand. Can anybody advise me a clue?

    vendor.0d0ecd6888946d189b3c.bundle.js:1 Uncaught Error: Cannot enable prod mode after platform setup. at ce (vendor.0d0ecd6888946d189b3c.bundle.js:1) at Object.cDNt (main.fbcb239d91994470baee.bundle.js:1) at n (inline.b01b7c89379b6ac4ad40.bundle.js:1) at Object.0 (main.fbcb239d91994470baee.bundle.js:1) at n (inline.b01b7c89379b6ac4ad40.bundle.js:1) at window.webpackJsonp (inline.b01b7c89379b6ac4ad40.bundle.js:1) at main.fbcb239d91994470baee.bundle.js:1 ce @ vendor.0d0ecd6888946d189b3c.bundle.js:1 cDNt @ main.fbcb239d91994470baee.bundle.js:1 n @ inline.b01b7c89379b6ac4ad40.bundle.js:1 0 @ main.fbcb239d91994470baee.bundle.js:1 n @ inline.b01b7c89379b6ac4ad40.bundle.js:1 window.webpackJsonp @ inline.b01b7c89379b6ac4ad40.bundle.js:1 (anonymous) @ main.fbcb239d91994470baee.bundle.js:1

  • User Avatar
    0
    aaron created
    Support Team

    Are you using ngx-bootstrap v1.9.3 as solved in https://github.com/aspnetzero/aspnet-zero-core/issues/439?

  • User Avatar
    0
    fguo created

    Thank you!

    I just updated it to ngx-bootstrap v1.9.3, and solved all of the issues. :o