We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45790d0 commit c0c7dccCopy full SHA for c0c7dcc
packages/kbn-es/src/utils/native_realm.js
@@ -76,6 +76,10 @@ exports.NativeRealm = class NativeRealm {
76
}
77
78
const reservedUsers = await this.getReservedUsers();
79
+ if (!reservedUsers || reservedUsers.length < 1) {
80
+ throw new Error('no reserved users found, unable to set native realm passwords');
81
+ }
82
+
83
await Promise.all(
84
reservedUsers.map(async user => {
85
await this.setPassword(user, options[`password.${user}`]);
0 commit comments