FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Email verification template

    Scheduled Pinned Locked Moved Unsolved
    General Discussion
    3
    9
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lambert.torres
      last edited by lambert.torres

      Hi,

      I've selected enter a short code to verify an email address but the email sent is the clickable link.Screenshot 2023-09-19 at 11.58.47 AM.png

      the copy in the email also is for the short code.
      Screenshot 2023-09-19 at 12.05.45 PM.png

      freemarker:

       [#if verificationOneTimeCode??]
                        <p class="code">${verificationOneTimeCode}</p>
                            [#else]
                            <p>
                              <a
                                href="${dashboardUrl}"
                                >${dashboardUrl}</a
                              >
                            </p>
      [/#if]
      

      anything we're mis-configuring?

      danD 1 Reply Last reply Reply Quote 0
      • L lambert.torres marked this topic as a question on
      • danD
        dan @lambert.torres
        last edited by

        Hiya @lambert-torres!

        Form field email verification is a premium feature. Have you purchased and entered your license?

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        L 1 Reply Last reply Reply Quote 0
        • L
          lambert.torres @dan
          last edited by

          @dan yes, we have this on our production environment. are you saying we need a license for our staging environment as well?

          danD 1 Reply Last reply Reply Quote 0
          • danD
            dan @lambert.torres
            last edited by

            @lambert-torres Any place you want to use premium features, you need to enter a license. However, for your staging environment, you can use the non-production version, which won't count MAU (and therefore won't count toward your cost).

            Here's more info: https://fusionauth.io/docs/v1/tech/admin-guide/licensing

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            L 1 Reply Last reply Reply Quote 0
            • L
              lambert.torres @dan
              last edited by

              @dan it looks like our staging instance is already licensed.
              Screenshot 2023-10-02 at 7.00.19 PM.png the server is in Development mode

              danD 1 Reply Last reply Reply Quote 0
              • danD
                dan @lambert.torres
                last edited by

                @lambert-torres

                Ah, you'll need to modify the email template, then.

                Here's an example template: https://fusionauth.io/docs/v1/tech/email-templates/templates-replacement-variables#email-verification

                Make sure you update both the HTML and TXT versions of the template.

                Let me know if that works.

                --
                FusionAuth - Auth for devs, built by devs.
                https://fusionauth.io

                L 1 Reply Last reply Reply Quote 0
                • L
                  lambert.torres @dan
                  last edited by

                  @dan if you see above our freemarker is also similarly done. we've assigned the url for the link to dashboardurl for simplicity.

                                        <h1>Verify your email</h1>
                                        <p>Use this temporary code to verify your email:</p>
                                        [#if verificationOneTimeCode??]
                                        <p class="code">${verificationOneTimeCode}</p>
                                        [#else]
                                        <p>
                                          <a
                                            href="${dashboardUrl}"
                                            >${dashboardUrl}</a
                                          >
                                        </p>
                                        [/#if]
                  
                  danD 1 Reply Last reply Reply Quote 0
                  • danD
                    dan @lambert.torres
                    last edited by

                    @lambert-torres Hmmm.

                    Since you have a paid plan, I've escalated this to engineering support.

                    I'll follow up here with a resolution for future readers.

                    --
                    FusionAuth - Auth for devs, built by devs.
                    https://fusionauth.io

                    1 Reply Last reply Reply Quote 0
                    • L
                      lertiasujanan
                      last edited by

                      Dealing with email verification can be a real headache. Every site wants to double-check who you are these days.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post