[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5332] branches/1.3



Revision: 5332
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5332&view=rev
Author:   einhverfr
Date:     2012-12-10 10:19:31 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Dropping seconds/subseconds from password notice on preferences screen

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/scripts/user.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-12-10 08:16:50 UTC (rev 5331)
+++ branches/1.3/Changelog	2012-12-10 10:19:31 UTC (rev 5332)
@@ -11,6 +11,7 @@
 * Fixed attached images not appearing in templates (Chris T)
 * Fixed projects not attached to customers lost 1.2-1.3 (Chris T, h/t Ario)
 * Fixed the rpm file to make a valid ledgersmb-httpd.conf (Havard S, 3593393)
+* Dropped seconds/subsecs from password expiration notice (Chris T, 3593963)
 
 Chris T is Chris Travers
 Havard S is Havard Sorli

Modified: branches/1.3/scripts/user.pl
===================================================================
--- branches/1.3/scripts/user.pl	2012-12-10 08:16:50 UTC (rev 5331)
+++ branches/1.3/scripts/user.pl	2012-12-10 10:19:31 UTC (rev 5332)
@@ -58,6 +58,7 @@
 	    format   => 'HTML'
     );
     $user->{user} = $request->{_user};
+    $user->{password_expires} =~ s/:(\d|\.)*$//;
     $template->render($user);
 }
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.