aboutsummaryrefslogtreecommitdiff
path: root/back-end/src/Endpoints
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-04-21 12:02:57 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-04-21 12:02:57 -0400
commitd7a3c957467e65ea7176170fba3c280ac18ac17e (patch)
tree67dd8b62b1b428803c6872fa689b92d95b4467a8 /back-end/src/Endpoints
parent97a5bded5122708cf39d0e86bc24a5f31755bdd1 (diff)
chore: Package updates and minor QOL patches
Diffstat (limited to 'back-end/src/Endpoints')
-rw-r--r--back-end/src/Endpoints/BmAccountEndpoint.cs4
1 files changed, 2 insertions, 2 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;
}