Fix admin-user-helper
This commit is contained in:
parent
1e5c8b95e1
commit
f5a940fd0c
|
@ -42,8 +42,11 @@ exports.createAdminUser = function () {
|
||||||
sync: {
|
sync: {
|
||||||
user: admin_token_user,
|
user: admin_token_user,
|
||||||
url: `realm://localhost:9080/__admin`,
|
url: `realm://localhost:9080/__admin`,
|
||||||
error: err =>
|
error: err => {
|
||||||
console.log('Error opening __admin realm ' + err.user + ' ' + err.url + ' ' + err.state),
|
const error = new Error('Error opening __admin realm error:' + err.user + ' url:' + err.url + ' state:' + err.state)
|
||||||
|
console.log(error);
|
||||||
|
reject(error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue