FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. echino
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    echino

    @echino

    0
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Switzerland Age 13

    echino Unfollow Follow

    Latest posts made by echino

    • RE: Password forgot / sent extra parameters

      Not the best way of doing that but found that you could inject some stuff in metaData.device.name

       <input type="hidden" name="metaData.device.name" value="_${request.getParameter('someparam')}" />
      

      I can later retrieve it and parse it and assign it

      [#assign someparam=request.getParameter("metaData.device.name")?split("_")?last]
      
      posted in General Discussion
      E
      echino
    • Password forgot / sent extra parameters

      Hi!

      I was wondering if the "forgot" action api call by the page "passwordForgot.ftl" could have some extra parameters.

      I have a few get parameters to send to the password sent page.
      I tried a hidden input but it doesn't appear in the link afterwards.

      Can someone provide any help on that matter?

      <form action="forgot" method="POST">
       [@helpers.oauthHiddenFields/]
       <input type="hidden" id="echinoparam" name="echinoparam" value="value" />
       [@helpers.input type="text" name="email" id="email" autocapitalize="none" autofocus=true autocomplete="on" autocorrect="off" label=theme.message('email') leftAddon="user" required=true/]
       [@helpers.button icon="arrow-right" text=theme.message('submit')/]
      </form>
      
      posted in General Discussion
      E
      echino
    • RE: Extends Freemarker variables for custom theme

      I found that you can use GET parameters directly inside FTL which works perfectly

      request.getParameter("param")
      
      posted in General Discussion
      E
      echino
    • Extends Freemarker variables for custom theme

      Hi there!

      I'm currently in the making of a custom theme for our multi-tenant saas and I'm trying to inject some variables.

      Is there any possiblities for us to assign / declare a variable in order to if statement to work on a custom variable?

      I saw a post of someone talking about "assign" in freemarker but without exemple nor documentation.

      And at the beginning of ftl files we have

      [#-- @ftlvariable name="version" type="java.lang.String" --]
      

      and I was wondering if I could add another one.
      I can't use application theming because of the architecture and we want a generic template of all of our customer. I already achieved color, logo and name customization via JS but it would be so much prettier to have a way in FTL.

      Thanks in advance!

      posted in General Discussion
      E
      echino
    • SMTP config with sendgrid

      I've this error 9135658f-277b-4324-9d43-f2a8b65356ed-image.png

      This is my config :

      014a1336-96d1-4166-b253-f34a59fd49cc-image.png

      Thanks for help !

      posted in Comments & Feedback
      E
      echino