Closed akincer closed 2 years ago
I don't think we can require default_uri
in this bundle, as it comes from another bundle. However, this is definitely an easy place to mess up, so it could definitely be mentioned in the README - like if you're getting localhost
URLs on production, you should set this.
Right. Should have been more explicit - for production and a note in the README was exactly what I had in mind.
On Mon, Oct 31, 2022, 10:01 AM Ryan Weaver @.***> wrote:
I don't think we can require default_uri in this bundle, as it comes from another bundle. However, this is definitely an easy place to mess up, so it could definitely be mentioned in the README - like if you're getting localhost URLs on production, you should set this.
— Reply to this email directly, view it on GitHub https://github.com/SymfonyCasts/reset-password-bundle/issues/249#issuecomment-1297138578, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKNL5HCOLKKYFSXM7RBHTWF7GMDANCNFSM6AAAAAARTDLSLQ . You are receiving this because you authored the thread.Message ID: @.***>
PR warmly welcomed for this :)
Created. If the wording needs changed just let me know.
Just for reference: #250
This might confuse some folks that are getting localhost as the root of the generated URI due to url() in twig prepending localhost without having default_uri defined in routing.yaml.