} else { # 2 password values needed
- $ctx->{pwreset} = {style => 'error', status => 'TWO_PASSWORDS'};
+ $ctx->{pwreset} = {status => 'TWO_PASSWORDS'};
}
} elsif ($barcode or $username) {
'open-ils.actor',
'open-ils.actor.patron.password_reset.request', @params);
- $ctx->{pwreset} = {style => 'plain', status => 'REQUEST_SUCCESS'};
+ $ctx->{pwreset} = {status => 'REQUEST_SUCCESS'};
}
$logger->info("patron password reset resulted in " . Dumper($ctx->{pwreset}));
NO_MATCH => l('Passwords did not match. Please try again'),
NOT_ACTIVE => l('This was not an active password reset request. Your password has not been reset.'),
NOT_STRONG => l('The password you chose was not considered complex enough to protect your account. Your password has not been reset.'),
- TWO_PASSWORDS => l('Please enter your password twice'),
+ TWO_PASSWORDS => l('Please enter and repeat your new password.'),
REQUEST_SUCCESS => l('Your user name or barcode has been submitted for a password reset. ' _
'If a matching account with an email address is found, you will soon receive an email at that address with further instructions for resetting your password.')
}