X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcontact.pm;h=1c456e7adb05b9742178eaed8402bee64d84d536;hp=fd3e9d770dd8a4ac171fdf5784d7f5062b27f091;hb=606df68b2e1c2ee977aba90f3d738237dc23a61c;hpb=4b42b437333dfcee25fa00bbb92dccddaa4baff3 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 {