<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Password change of another company from default Company not into db]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1146</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1146&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Password change of another company from default Company not into db.]]></description>
		<lastBuildDate>Mon, 01 Mar 2010 09:24:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Password change of another company from default Company not into db]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5048#p5048</link>
			<description><![CDATA[<p>This feature update has been merged into the <a href="https://frontaccounting.cvs.sourceforge.net/viewvc/*checkout*/frontaccounting/frontaccount/admin/create_coy.php?revision=1.13">FA trunk</a> today. The version number for the <strong>admin/create_coy.php</strong> is 1.13 now. Thanks Joe.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 01 Mar 2010 09:24:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5048#p5048</guid>
		</item>
		<item>
			<title><![CDATA[Re: Password change of another company from default Company not into db]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5044#p5044</link>
			<description><![CDATA[<p>As the admpassword form field is to be posted in another company&#039;s database, the following code needs to be appended around the end of the if statement in line 141 or so in admin/create_coy.php file:</p><p>&nbsp; &nbsp; } else {<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($_GET[&#039;c&#039;] = &#039;u&#039;) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $conn = $db_connections[$id];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (($db = db_create_db($conn)) == 0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display_error(_(&quot;Error connecting to Database: &quot;) . $conn[&#039;dbname&#039;] . _(&quot;, Please correct it&quot;));<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $error = true;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; db_query(&quot;UPDATE &quot;.$conn[&#039;tbpref&#039;].&quot;users set password = &#039;&quot;.md5($_POST[&#039;admpassword&#039;]). &quot;&#039; WHERE user_id = &#039;admin&#039;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }</p><p>The function db_create_db() creates a new db only if it does not exist, else merely connects to it.</p><p>Attached is the corrected file.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 01 Mar 2010 06:56:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5044#p5044</guid>
		</item>
		<item>
			<title><![CDATA[Password change of another company from default Company not into db]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5042#p5042</link>
			<description><![CDATA[<p>When we login as admin into the default company and attempt to go to Setup -&gt; Create/Update companies and choose to edit one of the non-default companies and we attempt to change that company&#039;s Administrative Password, the new password does not enter that company&#039;s database. The status of such a submission however states that the change has been successful even though it is not.</p><p>However, when we login to a specific company as admin and attempt to change the admin user&#039;s password, we are able to do so.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 01 Mar 2010 05:06:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5042#p5042</guid>
		</item>
	</channel>
</rss>
