use Plack::Request;
sub generate{
- my ($self, $format, $env, $ct, $job, $ext) = @_;
+ my ($self, $format, $env) = @_;
my $r = Plack::Request->new($env);
my ($oldpass, $newpass, $confirm) = map {scalar $r->param($_)} 'password', 'new_password', 'confirm_new_password';