--- loncom/interface/resetpw.pm 2019/04/24 01:44:30 1.44 +++ loncom/interface/resetpw.pm 2019/04/26 20:22:18 1.45 @@ -1,7 +1,7 @@ # The LearningOnline Network # Allow access to password changing via a token sent to user's e-mail. # -# $Id: resetpw.pm,v 1.44 2019/04/24 01:44:30 raeburn Exp $ +# $Id: resetpw.pm,v 1.45 2019/04/26 20:22:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -720,6 +720,15 @@ sub reset_passwd { .'

' ); } + } elsif (($change_failed eq 'prioruse') && ($passwdconf->{'numsaved'})) { + my $domdesc = + &Apache::lonnet::domain($data{'domain'},'description'); + $r->print( + '

' + .&mt('Please enter a password that you have not used recently.') + .'

' + .&display_actions($contact_email,$domdesc) + ); } else { $r->print(&generic_failure_msg($contact_name,$contact_email)); }