Skip to content

Commit 49fdd87

Browse files
committed
default lowercase the username
1 parent 8a0b91f commit 49fdd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbench/server/api/resources/pbench_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def post(self):
121121
try:
122122
user = UserModel(
123123
app=self.app,
124-
username=user_data.get("username"),
124+
username=user_data.get("username").lower(),
125125
password=user_data.get("password"),
126126
firstName=user_data.get("firstName"),
127127
lastName=user_data.get("lastName"),

0 commit comments

Comments
 (0)