Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
3923
Description
Restarting the controller causes the StoreBuilder.init() method to be called more than once. IdmLight changes the name of the database file to "idmlight.db.mv.db". Hitherto, StoreBuilder.init() is called if the file "idmlight.db" does not exist. However, the change to the naming convention of the idmlight database file was not reflected in the criteria for calling StoreBuilder.init(). As it stands, new default "admin" and "user" users are created each time the controller is started.
idmlight.db=> select * from users;
userid | name | email | password | description | enabled
------------------------------------+--------
1 | admin | | admin | admin user | 1
2 | user | | user | user user | 1
3 | admin | | admin | admin user | 1
4 | user | | user | user user | 1
5 | admin | | admin | admin user | 1
6 | user | | user | user user | 1