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

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



Revision: 6478
          http://sourceforge.net/p/ledger-smb/code/6478
Author:   einhverfr
Date:     2014-01-16 10:08:24 +0000 (Thu, 16 Jan 2014)
Log Message:
-----------
Fixing 949, may need diff. fix in 1.3.  Merged from trunk

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/Form.pm

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2014-01-16 10:00:38 UTC (rev 6477)
+++ branches/1.3/Changelog	2014-01-16 10:08:24 UTC (rev 6478)
@@ -5,6 +5,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: branches/1.3/LedgerSMB/Form.pm
===================================================================
--- branches/1.3/LedgerSMB/Form.pm	2014-01-16 10:00:38 UTC (rev 6477)
+++ branches/1.3/LedgerSMB/Form.pm	2014-01-16 10:08:24 UTC (rev 6478)
@@ -1376,7 +1376,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