Commit graph

9 commits

Author SHA1 Message Date
Md Irfan Hasan Fahim
c5b9fc3ddc
Update scripts/change-password.js
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-05-23 02:55:06 +06:00
Md Irfan Hasan Fahim
bef6dca806
Update scripts/change-password.js
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-05-23 02:54:45 +06:00
mihf05
46da6f3770 feat: add user management scripts and update dependencies
- Added `change-password.js` script for changing user passwords with bcrypt hashing.
- Added `create-admin.js` script to create an admin user if it doesn't already exist.
- Added `list-users.js` script to list all users in the database.
- Updated `package.json` to include `bcrypt` for password hashing and added testing libraries.
- Updated `ts-jest` version and ensured `prompts` is using a caret version for flexibility.
2025-05-23 02:44:29 +06:00
Mike Cao
113022ed17 Imported libraries, removed next-basics. 2025-02-05 13:30:28 -08:00
Brian Cao
17041efaae use uuid 2022-10-31 23:42:37 -07:00
Mike Cao
f4e0da481e Use next-basics package. 2022-08-28 20:20:54 -07:00
Mike Cao
2a2ce0e98d Fix change password script. 2022-01-06 00:49:07 -08:00
Mike Cao
b2d04c00ac Change to synchronous password hashing. 2021-05-23 17:29:27 -07:00
Arnelle Balane
8397f79987
Add script for resetting account password from console 2020-10-21 23:11:53 +08:00