100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
UI Hotfix for service user creation not being allowed (#1974)
Martin Peeters747c8eaf9d52
diff --git a/ui/app/manager/src/pages/page-users.ts b/ui/app/manager/src/pages/page-users.tsindex 727668ac3..9bfb87891 100644--- a/ui/app/manager/src/pages/page-users.ts+++ b/ui/app/manager/src/pages/page-users.ts@@ -338,7 +338,7 @@ export class PageUsers extends Page<AppStateKeyed> {return false;}// New service users with the 'gateway-' prefix are not allowed- if(user.serviceAccount && (user.email.startsWith('gateway-') || user.username.startsWith('gateway-'))) {+ if(user.serviceAccount && user.username.startsWith('gateway-')) {showSnackbar(undefined, "noGatewayUsername", "dismiss")return false;}@@ -1059,6 +1059,7 @@ export class PageUsers extends Page<AppStateKeyed> {this.reset();}}).catch((ex) => {+ console.error(ex);if (isAxiosError(ex)) {error = {status: ex.response.status,