From fdda9e68d6955e4a7278ca07fcbebcd68422a14b Mon Sep 17 00:00:00 2001 From: Natalie Rose Date: Fri, 11 Sep 2026 16:37:50 +1000 Subject: [PATCH] Fix two more UI query links --- lib/Lacuna/RPC/Empire.pm | 2 +- lib/Lacuna/Web/Admin.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Lacuna/RPC/Empire.pm b/lib/Lacuna/RPC/Empire.pm index 0adf57d9..019675c2 100644 --- a/lib/Lacuna/RPC/Empire.pm +++ b/lib/Lacuna/RPC/Empire.pm @@ -275,7 +275,7 @@ sub send_password_reset_message { $empire->password_recovery_key(create_uuid_as_string(UUID_V4)); $empire->update; - my $message = "Use the key or the link below to reset the password for %s.\n\nKey: %s\n\n%s#reset_password=%s"; + my $message = "Use the key or the link below to reset the password for %s.\n\nKey: %s\n\n%s"."app/#reset_password=%s"; $empire->send_email( 'Reset Your Password', sprintf($message, $empire->name, $empire->password_recovery_key, Lacuna->config->get('server_url'), $empire->password_recovery_key), diff --git a/lib/Lacuna/Web/Admin.pm b/lib/Lacuna/Web/Admin.pm index 4098b2d3..4efcd389 100644 --- a/lib/Lacuna/Web/Admin.pm +++ b/lib/Lacuna/Web/Admin.pm @@ -905,7 +905,7 @@ sub www_become_empire { confess [404, 'Empire not found.']; } my $uri = Lacuna->config->get('server_url'); - $uri .= '#session_id=%s'; + $uri .= 'app/#session_id=%s'; $uri = sprintf $uri, $empire->start_session({ is_admin => $request->user, api_key => 'admin:' . $request->user, request => $request })->id; [$uri, { status => 302 } ] } -- 2.51.2