Aye-Bee-See / sqlite-express-api

0 stars 0 forks source link

5 create default admin #21

Closed mycwnet closed 5 months ago

mycwnet commented 6 months ago

This is ready to be pulled, it's all temporary if we end up moving to the config system but it works and it'll permit seeding test records into the dbs until then

paxblueribbon commented 6 months ago

Unless I'm mistaken I think I'm seeing an issue, it will need to seed the salted password or salt the password first, otherwise logging in won't work since it will be comparing the salted password to the unsalted password and it will fail.

mycwnet commented 6 months ago

Okay, I've created the hook. However I want to restructure the db files in a way that doesn't do the db stuff in one big file. I'll create a separate issue though and do that there and if it's not painful to you we can have compartmentalization.