summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs')
-rw-r--r--projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs b/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs
index f1a40f7..f7d9794 100644
--- a/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs
+++ b/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs
@@ -21,6 +21,7 @@ namespace WebFormsRelyingParty.Members {
if (!IsPostBack) {
this.Repeater1.DataBind();
this.emailBox.Text = Global.LoggedInUser.EmailAddress;
+ this.emailVerifiedLabel.Visible = Global.LoggedInUser.EmailAddressVerified;
this.firstNameBox.Text = Global.LoggedInUser.FirstName;
this.lastNameBox.Text = Global.LoggedInUser.LastName;
}
@@ -48,6 +49,7 @@ namespace WebFormsRelyingParty.Members {
Global.LoggedInUser.EmailAddress = this.emailBox.Text;
Global.LoggedInUser.FirstName = this.firstNameBox.Text;
Global.LoggedInUser.LastName = this.lastNameBox.Text;
+ this.emailVerifiedLabel.Visible = Global.LoggedInUser.EmailAddressVerified;
}
protected void InfoCardSelector1_ReceivedToken(object sender, ReceivedTokenEventArgs e) {