[Jifty-commit] r4674 -
jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Dec 13 05:24:45 EST 2007
Author: yves
Date: Thu Dec 13 05:24:39 2007
New Revision: 4674
Modified:
jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm
Log:
for mysql varchar must be explicit (255 should be enough)
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 Thu Dec 13 05:24:39 2007
@@ -48,7 +48,7 @@
column auth_token =>
render_as 'unrendered',
- type is 'varchar',
+ type is 'varchar(255)',
default is '',
label is _('Authentication token');
@@ -57,7 +57,7 @@
column password =>
is unreadable,
label is _('Password'),
- type is 'varchar',
+ type is 'varchar(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