openware / barong

Barong auth server
https://www.openware.com
Apache License 2.0
139 stars 262 forks source link

How to change admin user? #1122

Closed pooyagolchian closed 3 years ago

pooyagolchian commented 4 years ago

I change the user configuration template in seed.yml.rb users:

but have an error in the build: Can't create user 'john@example.com': Password requirements How to add an admin users in this system?

ec commented 4 years ago

Try to change a password or just add an admin from the rails console inside container)

pooyagolchian commented 4 years ago

@ec Give me an example, Please. The documents not complete for change admin users or add wallet types like warm, hot, or cold wallet addresses.

coincryptoexchange commented 4 years ago

In the seed file like mentioned above i add my superadmin user. When i do rake service:all It is not loading this seed file. it just resets it to the above one. How can I add Superadmin user?

chumaknadya commented 4 years ago

@coincryptoexchange Every time when you run command rake service:all, you have db:seed rake task in it To seeds new file you need to be sure that you don't have old values in DB, you can delete them and then execute rake service:all again, and it should be okay

chumaknadya commented 3 years ago

Closed due to inactivity If you still have question please open issue on opendax repo