From 8574d61349765f19b3acc12e4b05bcafe791053f Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 9 Aug 2017 16:22:34 -0500 Subject: [PATCH] get saving encrypted to work --- EduNetworkBuilder/PersonClass.cs | 2 +- EduNetworkBuilder/PersonProfileForm.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EduNetworkBuilder/PersonClass.cs b/EduNetworkBuilder/PersonClass.cs index ed464a3..078a12b 100644 --- a/EduNetworkBuilder/PersonClass.cs +++ b/EduNetworkBuilder/PersonClass.cs @@ -32,7 +32,7 @@ namespace EduNetworkBuilder /// public string FullName = ""; - string Password = ""; + public string Password = ""; string PasswordHint = ""; /// diff --git a/EduNetworkBuilder/PersonProfileForm.cs b/EduNetworkBuilder/PersonProfileForm.cs index bedcefd..ed14575 100644 --- a/EduNetworkBuilder/PersonProfileForm.cs +++ b/EduNetworkBuilder/PersonProfileForm.cs @@ -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;