Skip to content

using a local development setup, auth.site_url in config.toml is not used in ConfirmationURL #3338

@rhyek

Description

@rhyek

in the config.toml i can see the following property that i've tried changing and it has no effect:

[auth]
enabled = true
# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used
# in emails.
site_url = "mylocalsite.app"

if i use {{ .SiteURL }} in a custom template, it outputs the mylocalsite.app, but {{ .ConfirmationURL }} always has the http://127.0.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions