/[transports]/trunk/lib/Transports/Action/Login.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Transports/Action/Login.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 14 by dpavlin, Thu May 4 21:54:50 2006 UTC revision 15 by dpavlin, Fri May 26 10:01:16 2006 UTC
# Line 72  sub take_action { Line 72  sub take_action {
72    
73      unless ( $user->id  && $user->password_is($self->argument_value('password'))) {      unless ( $user->id  && $user->password_is($self->argument_value('password'))) {
74          $self->result->error( 'You may have mistyped your email address or password. Give it another shot?' );          $self->result->error( 'You may have mistyped your email address or password. Give it another shot?' );
75          return;          #return;
     }  
   
     unless ($user->user_object->email_confirmed) {  
         $self->result->error( q{You haven't confirmed your account yet.} );  
         return;  
76      }      }
77    
78      # Set up our login message      # Set up our login message

Legend:
Removed from v.14  
changed lines
  Added in v.15

  ViewVC Help
Powered by ViewVC 1.1.26