diff --git a/opencti-documentation/docs/installation/auto.md b/opencti-documentation/docs/installation/auto.md index 133e6f28f01e..51bdaf0a23f3 100644 --- a/opencti-documentation/docs/installation/auto.md +++ b/opencti-documentation/docs/installation/auto.md @@ -17,7 +17,7 @@ The OVA file is available on the [Luatix Google Drive folder](https://drive.goog Then open the OVA file with VirtualBox or convert the OVA to another type of virtual machine image and launch it. You can login within the VM or connect in SSH with the default login `opencti` and the default password `opencti`. -> Once the virtual machine is launched, you have access to the plaform using the URL http://{IP_ADDRESS}:8080. +> Once the virtual machine is launched, the **OpenCTI platform can take 3 to 5 minutes to start the first time**. Then you have access to the plaform using the URL **http://{IP_ADDRESS}:8080**. # Using Docker diff --git a/opencti-platform/opencti-front/src/private/components/settings/users/UserEditionOverview.js b/opencti-platform/opencti-front/src/private/components/settings/users/UserEditionOverview.js index d0d346201195..d3e0be673804 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/users/UserEditionOverview.js +++ b/opencti-platform/opencti-front/src/private/components/settings/users/UserEditionOverview.js @@ -141,7 +141,7 @@ class UserEditionOverviewComponent extends Component { searchRoles(event) { fetchQuery(userEditionOverviewRolesSearchQuery, { - search: event.target.value, + search: event && event.target.value !== 0 ? event.target.value : '', }).then((data) => { const roles = pipe( pathOr([], ['roles', 'edges']), diff --git a/opencti-platform/opencti-graphql/src/domain/user.js b/opencti-platform/opencti-graphql/src/domain/user.js index e02b87d8e36c..cb46fe998541 100644 --- a/opencti-platform/opencti-graphql/src/domain/user.js +++ b/opencti-platform/opencti-graphql/src/domain/user.js @@ -312,10 +312,10 @@ export const meEditField = (user, userId, input) => { return userEditField(user, userId, input); }; export const userDelete = async userId => { - await deleteEntityById(userId, 'User'); const userToken = await getToken(userId); await deleteEntityById(userToken.id, 'Token'); await clearAccessCache(userToken.uuid); + await deleteEntityById(userId, 'User'); return userId; }; export const personDelete = async personId => {