Token-generating task
This commit is contained in:
parent
9c1cf1befb
commit
0b1ca6a584
3 changed files with 30 additions and 0 deletions
|
|
@ -344,6 +344,7 @@ defmodule Pleroma.Web.Router do
|
|||
end
|
||||
|
||||
scope "/", Fallback do
|
||||
get("/registration/:token", RedirectController, :registration_page)
|
||||
get("/*path", RedirectController, :redirector)
|
||||
end
|
||||
end
|
||||
|
|
@ -358,4 +359,8 @@ defmodule Fallback.RedirectController do
|
|||
|> send_file(200, "priv/static/index.html")
|
||||
end
|
||||
end
|
||||
|
||||
def registration_page(conn, params) do
|
||||
redirector(conn, params)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue