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

SF.net SVN: ledger-smb:[6477] trunk



Revision: 6477
          http://sourceforge.net/p/ledger-smb/code/6477
Author:   einhverfr
Date:     2014-01-16 10:00:38 +0000 (Thu, 16 Jan 2014)
Log Message:
-----------
Fixing 949, may need diff. fix in 1.3.  This fixes the password failed error after changing password and clicking on sales invoice

Modified Paths:
--------------
    trunk/Changelog
    trunk/LedgerSMB/Form.pm

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2014-01-16 09:39:20 UTC (rev 6476)
+++ trunk/Changelog	2014-01-16 10:00:38 UTC (rev 6477)
@@ -104,6 +104,7 @@
 Changelog for 1.3.37
 * 1.3-1.2 downgrade now drops extensions (Chris T, 943)
 * Fixed db names with spaces not supported (Chris T, 946)
+* Fixed old code not working if clicked on after changing passwd (Chris 949)
 
 Changelog for 1.3.36
 * Set default date for AP invoice creation to current date (Chris T)

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2014-01-16 09:39:20 UTC (rev 6476)
+++ trunk/LedgerSMB/Form.pm	2014-01-16 10:00:38 UTC (rev 6477)
@@ -1286,7 +1286,7 @@
     }
     my $dbname = $self->{company};
     $self->{dbh} = DBI->connect(qq|dbi:Pg:dbname="$dbname"|, $login, $password,
-           { AutoCommit => 0 }) || $self->dberror();
+           { AutoCommit => 0 }) || LedgerSMB::Auth::credential_prompt();
 
     $logger->debug("acquired dbh \$self->{dbh}=$self->{dbh}");
     $self->{dbh}->{pg_server_prepare} = 0;

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits