[Jifty-commit] r4772 -
jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Dec 25 13:58:56 EST 2007
Author: sunnavy
Date: Tue Dec 25 13:58:56 2007
New Revision: 4772
Modified:
jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm
Log:
seems varchar(255) won't work, have to set max_length
Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm Tue Dec 25 13:58:56 2007
@@ -49,6 +49,7 @@
column auth_token =>
render_as 'unrendered',
type is 'varchar(255)',
+ max_length is 255,
default is '',
label is _('Authentication token');
@@ -58,6 +59,7 @@
is unreadable,
label is _('Password'),
type is 'varchar(255)',
+ max_length is 255,
hints is _('Your password should be at least six characters'),
render_as 'password',
filters are 'Jifty::DBI::Filter::SaltHash';
More information about the Jifty-commit
mailing list