get saving encrypted to work

This commit is contained in:
Tim Young 2017-08-09 16:22:34 -05:00
parent 66657507ed
commit 8574d61349
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ namespace EduNetworkBuilder
/// </summary>
public string FullName = "";
string Password = "";
public string Password = "";
string PasswordHint = "";
/// <summary>

View File

@ -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;