X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcontact.pm;h=1c456e7adb05b9742178eaed8402bee64d84d536;hb=606df68b2e1c2ee977aba90f3d738237dc23a61c;hp=fd3e9d770dd8a4ac171fdf5784d7f5062b27f091;hpb=ae362d637c6ec2db80184d5ae6c30b1f5dc3271c;p=freeside.git diff --git a/FS/FS/contact.pm b/FS/FS/contact.pm index fd3e9d770..1c456e7ad 100644 --- a/FS/FS/contact.pm +++ b/FS/FS/contact.pm @@ -867,7 +867,10 @@ sub send_reset_email { 'svcnum' => $opt{'svcnum'}, }; - my $timeout = '24 hours'; #? + + my $conf = new FS::Conf; + my $timeout = + ($conf->config('selfservice-password_reset_hours') || 24 ). ' hours'; my $reset_session_id; do {