[prev] [thread] [next] [lurker] [Date index for 2003/11/25]
Author: gabor
Date: 2003-11-25 20:41:39 +0200 (Tue, 25 Nov 2003)
New Revision: 50
Modified:
lib/YAPC/Organizer.pm
t/10-use-html-template.t
Log:
remove duplicate checking of valid login
Modified: lib/YAPC/Organizer.pm
===================================================================
--- lib/YAPC/Organizer.pm 2003-11-25 14:58:04 UTC (rev 49)
+++ lib/YAPC/Organizer.pm 2003-11-25 18:41:39 UTC (rev 50)
@@ -141,13 +141,8 @@
my $q = $self->query;
my $id = $self->is_logged_in;
- if (not $id) {
- my $t = $self->_server_page('login');
- $t->param(next => "change_password.html");
- return $t->output;
- }
- # are the password good and equal ?
+ # are the passwords good and equal ?
if (defined $q->param('password') and
defined $q->param('password2') and
($q->param('password') eq $q->param('password2'))) {
Modified: t/10-use-html-template.t
===================================================================
--- t/10-use-html-template.t 2003-11-25 14:58:04 UTC (rev 49)
+++ t/10-use-html-template.t 2003-11-25 18:41:39 UTC (rev 50)
@@ -60,3 +60,5 @@
}
+
+
Generated at 00:06 on 26 Nov 2003 by mariachi 0.51