[Jifty-commit] r7112 - jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action

Jifty commits jifty-commit at lists.jifty.org
Tue May 26 23:08:52 EDT 2009


Author: sartak
Date: Tue May 26 23:08:51 2009
New Revision: 7112

Modified:
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm

Log:
Login plugin validation message consistency

Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm	Tue May 26 23:08:51 2009
@@ -144,13 +144,13 @@
 
     if ($token eq '') { # we have no token, validate in a standard way
         unless ( defined $pw && length $pw ) {
-            return $self->validation_error(password => "Please fill in this field." );
+            return $self->validation_error(password => "You need to fill in the 'password' field" );
         }
     } else { # we have a token, so we should have a hashed pw
         my $emptypw = '';
         my $blankhash = md5_hex("$token $emptypw");
         if ($hashedpw eq $blankhash) {
-            return $self->validation_error(password => "Please fill in this field." );
+            return $self->validation_error(password => "You need to fill in the 'password' field" );
         }
         
     }


More information about the Jifty-commit mailing list