diff --git a/src/utils/Auth.js b/src/utils/Auth.js index dd2ea5eb..4f98540d 100644 --- a/src/utils/Auth.js +++ b/src/utils/Auth.js @@ -32,7 +32,7 @@ const getUsers = () => { } // Otherwise, return the users array, if available - const users = auth.users || []; + const users = auth.users ? [...auth.users] : []; if (isOidcEnabled()) { if (localStorage[localStorageKeys.USERNAME]) { const user = {