mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-22 17:12:03 -07:00
fix(adapter/admin.js): Adding mnemonic for user
This commit is contained in:
@@ -56,7 +56,8 @@ class Admin {
|
||||
email: 'system@system.com',
|
||||
name: 'admin',
|
||||
password: _this.config.adminPassword || _this._randomString(20),
|
||||
type: 'admin'
|
||||
type: 'admin',
|
||||
mnemonic: 'spread ivory oval pioneer flash gap merit nerve simple image entire trouble'
|
||||
}
|
||||
// Check if the user already exists
|
||||
let adminUser = await _this.User.findOne({ email: context.email })
|
||||
|
||||
Reference in New Issue
Block a user