feat(server): session-based auth plug + login controller/template
This commit is contained in:
parent
3123743c1c
commit
4538945b85
4 changed files with 95 additions and 0 deletions
5
server/lib/server_web/controllers/auth_html.ex
Normal file
5
server/lib/server_web/controllers/auth_html.ex
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
defmodule ServerWeb.AuthHTML do
|
||||
use ServerWeb, :html
|
||||
|
||||
embed_templates "auth_html/*"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue