From ae491f72237256b10726a78770fa90257f007182 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Sat, 28 Jan 2012 07:18:10 +0100 Subject: [PATCH] use base_uri config in password reset email --- src/lib/Hydra/Controller/Admin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Admin.pm b/src/lib/Hydra/Controller/Admin.pm index 489c6c2c..464075e8 100644 --- a/src/lib/Hydra/Controller/Admin.pm +++ b/src/lib/Hydra/Controller/Admin.pm @@ -158,7 +158,7 @@ sub reset_password : Chained('user') PathPart('reset-password') Args(0) { "New password for Hydra", "Hi,\n\n". "Your password has been reset. Your new password is '$password'.\n". - "You can change your password at http://".hostname_long."/change-password .\n". + "You can change your password at http://".$config{'base_uri'}."/change-password .\n". "With regards, Hydra\n" );