get saving encrypted to work
This commit is contained in:
parent
66657507ed
commit
8574d61349
@ -32,7 +32,7 @@ namespace EduNetworkBuilder
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string FullName = "";
|
public string FullName = "";
|
||||||
|
|
||||||
string Password = "";
|
public string Password = "";
|
||||||
|
|
||||||
string PasswordHint = "";
|
string PasswordHint = "";
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -343,10 +343,10 @@ namespace EduNetworkBuilder
|
|||||||
private void btnChangePassword_Click(object sender, EventArgs e)
|
private void btnChangePassword_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string OldPassword = "";
|
string OldPassword = "";
|
||||||
if (CurrentUser.Password() != "")
|
if (CurrentUser.Password != "")
|
||||||
{
|
{
|
||||||
OldPassword = NB.TextPromptBox(NB.Translate("PPF_OldPassword"), Properties.Resources.NBIco, true);
|
OldPassword = NB.TextPromptBox(NB.Translate("PPF_OldPassword"), Properties.Resources.NBIco, true);
|
||||||
if(OldPassword != CurrentUser.Password())
|
if(OldPassword != CurrentUser.Password)
|
||||||
{
|
{
|
||||||
MessageBox.Show(NB.Translate("PPF_PassMismatch"));
|
MessageBox.Show(NB.Translate("PPF_PassMismatch"));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user