DVBProject / DVB-I-Reference-CSR

Project to create a DVB-I Central Service Registry for DVB-I client service (list) discovery
MIT License
8 stars 3 forks source link

Creating default admin user #3

Closed peterl1000 closed 2 years ago

peterl1000 commented 2 years ago

The default admin user is not created when installing and running the CSR for the first time.

Adding the line: INSERT INTO User(Name,Hash,Role,Organizations) VALUES("admin","$2a$08$7OhNJDnNMT46QIIK1dsEVeKmzf0hs4U0jvu3V4reNCdUt8Mj/RX4i","admin","0"); to the end of the db.sql file fixed the login issue for me, creating user "admin" with password "admin".

juhajoki commented 2 years ago

fixed in latest version, tagged 0.7 Also, one can force the creation of the default user by navigating to path /setup in the CSR server