[Jifty-commit] r3157 - in jifty/trunk: lib/Jifty/Plugin/Authentication/Password/Mixin/Model

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Apr 19 13:28:12 EDT 2007


Author: semifor
Date: Thu Apr 19 13:28:12 2007
New Revision: 3157

Modified:
   jifty/trunk/AUTHORS
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm

Log:
exceedingly trivial fix (semantic noop), but it's a start


Modified: jifty/trunk/AUTHORS
==============================================================================
--- jifty/trunk/AUTHORS	(original)
+++ jifty/trunk/AUTHORS	Thu Apr 19 13:28:12 2007
@@ -26,3 +26,4 @@
 Edgar Whipple <jifty at misterwhipple.com>
 Christian Ternus <ternus at mit.edu>
 David Brunton <dbrunton at yahoo.com>
+Marc Mims <marc at questright.com>

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 Apr 19 13:28:12 2007
@@ -128,7 +128,7 @@
     my $self = shift;
     my $auth_token = '';
 
-    $auth_token .= unpack('H2', chr(int rand(255))) for (1..16);
+    $auth_token .= unpack('H2', chr(int rand(256))) for (1..16);
 
     $self->__set(column => 'auth_token', value => $auth_token);
 }


More information about the Jifty-commit mailing list