<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Password.]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=7035</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=7035&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Password..]]></description>
		<lastBuildDate>Mon, 12 Oct 2020 07:51:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Password.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=38494#p38494</link>
			<description><![CDATA[<p>v_pozidis,</p><br /><p>I assume that Dmitri uses the EncryptRC6 function to encrypt the password. If he does, you would need to know the &#039;key&#039; used, otherwise you would not be able to decrypt it.</p><p>If you want to be able to retrieve a password&nbsp; you would have to design your own form so that you can select the encryption key.</p>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Mon, 12 Oct 2020 07:51:58 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=38494#p38494</guid>
		</item>
		<item>
			<title><![CDATA[Re: Password.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=38493#p38493</link>
			<description><![CDATA[<p>Why do you need someone&#039;s password? If you &quot;forgot&quot;, you can create a new one. Right?</p>]]></description>
			<author><![CDATA[null@example.com (vovka3003)]]></author>
			<pubDate>Mon, 12 Oct 2020 05:19:19 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=38493#p38493</guid>
		</item>
		<item>
			<title><![CDATA[Re: Password.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=38489#p38489</link>
			<description><![CDATA[<p>I ask if we can recover the forgotten password . Can we decrypt the password from the database?&nbsp; It could be our password too</p>]]></description>
			<author><![CDATA[null@example.com (v_pozidis)]]></author>
			<pubDate>Sun, 11 Oct 2020 20:10:31 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=38489#p38489</guid>
		</item>
		<item>
			<title><![CDATA[Re: Password.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=38488#p38488</link>
			<description><![CDATA[<p>v_pozidis,</p><br /><p>I don&#039;t have complete code to show you, but so long as you have filled out the email address for each user, you could add a button or clickable link to the logon form to retrieve and send the password.</p><br /><p>To add a button, textbox or clickable link to the form the following code needs to be placed between the default &#039;begin....end&#039; that is automatically placed in the script.</p><br /><div class="codebox"><pre><code>begin

   btnForgotPass := TButton.Create(frmdbCoreLogin); //Change to label or edit text etc if using a label or text edit
   btnForgotPass.Left := 113;  // change these to position your button etc 
   btnForgotPass.Top := 170;  // These positions are for a label that appears under the picture image on the login form
   btnForgotPass.Width := 300;
   btnForgotPass.Height:= 15;
   btnForgotPass.Margins.Top :=10;
   btnForgotPass.Margins.Bottom := 10;
   btnForgotPass.Parent := frmdbCoreLogin;
   btnForgotPass.Wordwrap := true;
   btnForgotPass.Caption := &#039;Forgot Password&#039;;
   btnForgotPass.Visible := True;

   frmdbCoreLogin.Caption := &#039;Your form title here if you wish&#039;  
   {code above has been tested}

   {code below HAS NOT been tested}
   btnForgotPass.OnClick := @ForgotPassWord; 

    </code></pre></div><br /><p>&nbsp; &nbsp;code for button click&nbsp; - you will need to make your own form ( for example password_retrieve) with either a user name or an email entry text edit.</p><br /><p>NOT TESTED</p><div class="codebox"><pre><code>procedure ForGotPassWordOnClick
begin
     SQL code to retrieve and match either user name or email address. Or use a table grid and a search button to save writing SQL statements.
 
    
   frmdbCoreLogin.mniChangePassword.click; // this calls the built in password change form
 //however this form requires the current password to be entered. So code below is better
   frmForGotPassword.Show;
end;</code></pre></div><p>On the ForGotPassword form show users name and have two textbox to enter the new password and a save button that saves to the&nbsp; _user table and the password field.</p><br /><p>I&#039;ve just realised you might be able to change frmdbCoreLogin.mniChangePassword.click to frmdbCoreUserChangePwd.Show or .click</p>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Sun, 11 Oct 2020 19:13:49 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=38488#p38488</guid>
		</item>
		<item>
			<title><![CDATA[Password.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=38487#p38487</link>
			<description><![CDATA[<p>What if someone forget he&#039;s password how can he recover it? In the database it is encrypt.<br />I use MVDB 6.3 the User Menu to create a new user with he&#039;s passowrd</p>]]></description>
			<author><![CDATA[null@example.com (v_pozidis)]]></author>
			<pubDate>Sun, 11 Oct 2020 12:15:13 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=38487#p38487</guid>
		</item>
	</channel>
</rss>
