DocCyblade / tkl-mayan-edms

Turnkey Linux - Mayan EDMS
https://www.turnkeylinux.org/mayan-edms
Other
4 stars 12 forks source link

Testing: Firstboot admin message still shows up #62

Closed DocCyblade closed 7 years ago

DocCyblade commented 7 years ago

After first boot, inithook does set password, however does not clear the auto generated admin password message. The singleton record looks like it's not being deleted or it's being re-populated.

May want to change the SQL statement instead of delete the record to update it like Mayan does when the password is changed

UPDATE "autoadmin_autoadminsingleton" SET
"password" = NULL,
"password_hash" = NULL,
"account_id" = NULL
WHERE "id" = '1';

More testing is needed

DocCyblade commented 7 years ago

I have patched the mayan.py file to update the values to NULL as the above SQL statement. Currently building and testing now