Merge pull request #4756 from zyhfish/task/fix-4752

Fix #4752: validate the username and email.
This commit is contained in:
Shaun Walker
2024-10-24 09:53:24 -04:00
committed by GitHub
8 changed files with 167 additions and 102 deletions

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Oqtane.Models
{
public class UserValidateResult
{
public bool Succeeded { get; set; }
public IDictionary<string, string> Errors { get; set; } = new Dictionary<string, string>();
}
}