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