mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-19 16:03:00 +00:00
Merge commit '92c6a23a13cc75a45e750f25bc5d76ed5cb49445' into group_property_feature
This commit is contained in:
@@ -38,13 +38,14 @@ const withAPI = withProps(() => ({
|
||||
jhapiRequest("/users/" + username, "GET")
|
||||
.then((data) => data.status)
|
||||
.then((data) => (data > 200 ? false : true)),
|
||||
failRegexEvent: () =>
|
||||
alert(
|
||||
"Cannot change username - either contains special characters or is too short."
|
||||
),
|
||||
noChangeEvent: () => {
|
||||
returns;
|
||||
// Temporarily Unused
|
||||
failRegexEvent: () => {
|
||||
return null;
|
||||
},
|
||||
noChangeEvent: () => {
|
||||
return null;
|
||||
},
|
||||
//
|
||||
refreshGroupsData: () =>
|
||||
jhapiRequest("/groups", "GET").then((data) => data.json()),
|
||||
refreshUserData: () =>
|
||||
|
Reference in New Issue
Block a user