Copied to clipboard

Flag this post as spam?

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


  • Adam 4 posts 84 karma points
    Feb 19, 2024 @ 11:59
    Adam
    0

    How to inject javascript into /umbraco/login

    I have an AppPlugin called 2fa. After login I can see the javascript defined in the package.manifest is injected into the page. However, I would like the 2fa-login.js injected at the point of /umbraco/login. Please can someone explain how this can be achieved?

    Am working on an umbraco 13 project. The files are injected as desired in an umbraco 11 project.

    {
      "javascript": [
        "~/App_Plugins/2fa/2fa-provider.controller.js",
        "~/App_Plugins/2fa/2fa-login.js",
      ]
    }
    
  • Adam 4 posts 84 karma points
    Mar 04, 2024 @ 16:20
    Adam
    0

    Would appreciate any thoughts on this matter.

Please Sign in or register to post replies

Write your reply to:

Draft