mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-11 03:52:59 +00:00
Improve GroupEdit, username input with validation and alerts
This commit is contained in:
@@ -32,6 +32,7 @@ const withAPI = withProps((props) => ({
|
||||
admin,
|
||||
}),
|
||||
deleteUser: (username) => jhapiRequest("/users/" + username, "DELETE"),
|
||||
findUser: (username) => jhapiRequest("/users/" + username, "GET"),
|
||||
failRegexEvent: () =>
|
||||
alert(
|
||||
"Cannot change username - either contains special characters or is too short."
|
||||
|
Reference in New Issue
Block a user