Christopher 7bc592ad4a 🔑 feat(reset-password): Add fallback for missing user.db (#10)
* 🔑 feat(reset-password): Add fallback for missing user.db

This change adds a fallback mechanism to handle cases where the
`/var/lib/casaos/db/user.db` file is not found. If the file is
missing, the script attempts to check if the file exists in an
alternative location. If found, it backs up the file and restarts
the CasaOS user service to ensure the password reset functionality
works correctly.

* 🔐 feat(reset-password-for-casaos): Remove user.db existence

check and provide alternative method

The changes remove the check for the existence of the `user.db` file
and provide an alternative method to handle the case where the file is
not found. This change is intended to make the password reset process
more robust and accommodate systems where the `user.db` file may not be
present.
2024-09-29 09:49:54 -05:00
2023-10-04 21:27:05 -05:00
2023-09-15 18:59:00 -05:00
2023-09-19 13:04:26 -05:00
2023-08-22 12:07:19 -05:00
2023-08-14 21:39:57 -05:00
2023-09-21 08:17:53 -05:00
2023-10-27 11:00:31 -05:00

BigBearScripts

YouTube Link: https://www.youtube.com/@bigbeartechworld

BigBearCommunity

If you have a suggestion for a video, post in the BigBearCommunity.

Support My Work

ko-fi

Description
No description provided
Readme MIT 1 MiB
Languages
Shell 99.2%
JavaScript 0.8%