]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/Passwd.pm
Make Gruntmaster::Page::Base::variants not need overriding
[gruntmaster-page.git] / lib / Gruntmaster / Page / Passwd.pm
index 4604fbca9e19c6db972d3d8653f7fce65f62ea80..73b768026d8f3dcbcca9aaae8d1aed4286a3c599 100644 (file)
@@ -11,7 +11,7 @@ use Apache2::Authen::Passphrase qw/pwcheck pwset/;
 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';
 
@@ -22,6 +22,4 @@ sub generate{
        reply 'Password changed successfully';
 }
 
-sub variants{ [[reply => 1, undef, undef, undef, undef, undef]] }
-
 1
This page took 0.020246 seconds and 4 git commands to generate.