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