fix file uploads, serve them properly, put behind auth wall, decrypt secret message in frontend

This commit is contained in:
2022-02-22 00:16:51 -05:00
parent cac3757723
commit 2ac596b8c8
20 changed files with 420 additions and 148 deletions

View File

@@ -1 +1,7 @@
<%= react_component("Components.AuthPage", %{ csrf: Plug.CSRFProtection.get_csrf_token(), service: @service, recipient: @recipient, user: @current_user }) %>
<%= react_component("Components.AuthPage", %{
csrf: Plug.CSRFProtection.get_csrf_token(),
service: @intended_link.service,
recipient: @intended_link.recipient,
user: current_user(@conn),
link: current_link(@conn)
}) %>