Exemplo n.º 1
0
 public void UserApproved(object sender, UserEventArgs args)
 {
     if (args.SendNotification)
     {
         UserRegistrationEmailNotifier.NotifyUser(args.User, MessageType.UserRegistrationPublic);
     }
     DeleteAllNewUnauthorizedUserRegistrationNotifications(args.User.UserID);
 }
Exemplo n.º 2
0
        /// <inheritdoc/>
        public void UserCreated(object sender, UserEventArgs args)
        {
            UserRegistrationEmailNotifier.NotifyAdministrator(args.User);

            if (args.SendNotification)
            {
                UserRegistrationEmailNotifier.NotifyUser(args.User);
            }
        }