summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.User.cs
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.User.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/Model.User.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Model.User.cs b/projecttemplates/RelyingPartyLogic/Model.User.cs
new file mode 100644
index 0000000..16980e2
--- /dev/null
+++ b/projecttemplates/RelyingPartyLogic/Model.User.cs
@@ -0,0 +1,19 @@
+//-----------------------------------------------------------------------
+// <copyright file="Model.User.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace RelyingPartyLogic {
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Web;
+
+ public partial class User {
+ partial void OnEmailAddressChanged() {
+ // Whenever the email address is changed, we must reset its verified status.
+ this.EmailAddressVerified = false;
+ }
+ }
+}