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

Jifty commits jifty-commit at lists.jifty.org
Mon Jun 8 09:25:23 EDT 2009


Author: ishigaki
Date: Mon Jun  8 09:25:23 2009
New Revision: 7198

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

Log:
the param to be rendered should be "username" (not "email") if you set "login_by" to "username" in the config


Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	Mon Jun  8 09:25:23 2009
@@ -67,7 +67,7 @@
         div {
             attr { id => 'jifty-login' };
             Jifty->web->form->start( call => $next );
-            render_param( $action, 'email', focus => 1 );
+            render_param( $action, 'username', focus => 1 );
             render_param( $action, $_ ) for (qw(password remember));
             form_return( label => _(q{Login}), submit => $action );
             hyperlink(


More information about the Jifty-commit mailing list