Ignore:
Timestamp:
04/12/09 22:54:30 (15 years ago)
Author:
nanardon
Message:
  • set on password field by poll (#32)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Vote/Controller/Newpoll.pm

    r181 r186  
    6868    if ($c->req->param('passwd')) { 
    6969        my $pid = $c->model('Vote')->poll_from_request($id, $c->req->param('passwd')); 
    70         $c->session->{vpassword} = $c->req->param('passwd'); # avoid auth on admin page 
     70        $c->session->{'vpass' . $pid} = $c->req->param('passwd'); # avoid auth on admin page 
    7171        $c->res->redirect($c->uri_for('/admin', $pid)); 
    7272    } 
Note: See TracChangeset for help on using the changeset viewer.