From 91d2c294dc5ed7b9ce8aa8484f61cddefffed71d Mon Sep 17 00:00:00 2001 From: Jamil Date: Wed, 2 Mar 2022 13:37:02 -0800 Subject: [PATCH] Instruct user to reauthenticate (#487) * Instruct user to reauthenticate * Fix renamed routes --- apps/fz_http/lib/fz_http_web/templates/user/show.html.heex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/fz_http/lib/fz_http_web/templates/user/show.html.heex b/apps/fz_http/lib/fz_http_web/templates/user/show.html.heex index 630ed77b1..e2b76917e 100644 --- a/apps/fz_http/lib/fz_http_web/templates/user/show.html.heex +++ b/apps/fz_http/lib/fz_http_web/templates/user/show.html.heex @@ -4,6 +4,11 @@

Your VPN session expired at:

+

+ Please + <%= link("reauthenticate", to: Routes.session_path(@conn, :delete), method: :delete) %> + to renew your VPN session. +

<% else %>

Your VPN session expires at: @@ -14,6 +19,8 @@ ...

+ <%= link("Reauthenticate", to: Routes.session_path(@conn, :delete), method: :delete) %> + to renew your VPN session. <% else %> Your VPN session is active indefinitely. <% end %>