diff options
Diffstat (limited to 'back-end/src')
-rw-r--r-- | back-end/src/Endpoints/BmAccountEndpoint.cs | 4 | ||||
-rw-r--r-- | back-end/src/SimpleBookmark.csproj | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/back-end/src/Endpoints/BmAccountEndpoint.cs b/back-end/src/Endpoints/BmAccountEndpoint.cs index e9401fa..24ddb90 100644 --- a/back-end/src/Endpoints/BmAccountEndpoint.cs +++ b/back-end/src/Endpoints/BmAccountEndpoint.cs @@ -304,7 +304,7 @@ namespace SimpleBookmark.Endpoints //Create the new user UserCreationRequest newUser = new() { - EmailAddress = userName, + Username = userName, InitialStatus = UserStatus.Active, Privileges = privLevel, Password = PrivateString.ToPrivateString(password, false), @@ -470,7 +470,7 @@ namespace SimpleBookmark.Endpoints .NotNull() .NotEmpty() .EmailAddress() - .Length(1, 200); + .Length(min: 1, max: 100); return val; } diff --git a/back-end/src/SimpleBookmark.csproj b/back-end/src/SimpleBookmark.csproj index d0235a2..fc9b46a 100644 --- a/back-end/src/SimpleBookmark.csproj +++ b/back-end/src/SimpleBookmark.csproj @@ -33,12 +33,12 @@ </ItemGroup> <ItemGroup> - <PackageReference Include="MemoryPack" Version="1.21.0" /> - <PackageReference Include="VNLib.Plugins.Extensions.Data" Version="0.1.0-ci0061" /> - <PackageReference Include="VNLib.Plugins.Extensions.Loading" Version="0.1.0-ci0061" /> - <PackageReference Include="VNLib.Plugins.Extensions.Loading.Sql" Version="0.1.0-ci0061" /> - <PackageReference Include="VNLib.Plugins.Extensions.Validation" Version="0.1.0-ci0061" /> - <PackageReference Include="VNLib.Plugins.Extensions.VNCache" Version="0.1.0-ci0054" /> + <PackageReference Include="MemoryPack" Version="1.21.1" /> + <PackageReference Include="VNLib.Plugins.Extensions.Data" Version="0.1.0-ci0063" /> + <PackageReference Include="VNLib.Plugins.Extensions.Loading" Version="0.1.0-ci0063" /> + <PackageReference Include="VNLib.Plugins.Extensions.Loading.Sql" Version="0.1.0-ci0063" /> + <PackageReference Include="VNLib.Plugins.Extensions.Validation" Version="0.1.0-ci0063" /> + <PackageReference Include="VNLib.Plugins.Extensions.VNCache" Version="0.1.0-ci0056" /> </ItemGroup> <ItemGroup> |