riverrun / openmaize

No longer maintained - was an Authentication library for Plug-based applications in Elixir
Other
206 stars 30 forks source link

No need for Mix #8

Closed manveru closed 8 years ago

manveru commented 8 years ago

Since exrm deployments usually don't include Mix and there's no reason to have Mix in production, I think doing this not only makes the port flexible, but also the host. The location header doesn't need to include those anyway unless you access the form from elsewhere, and in that case using the Plug.Conn values is wrong too.

riverrun commented 8 years ago

I didn't realize that relative urls are OK in the location header. Thanks for your help.