mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
The UserPasswordHash seeder bcrypt-hashed user.Password unconditionally, assuming plaintext. If it ran on an already-bcrypt value (DB restore, SQLite<->Postgres switch, history_of_seeders inconsistency on upgrade) it double-hashed the password, locking the admin out with both old and new passwords rejected. Skip any password that is already a bcrypt hash. |
||
|---|---|---|
| .. | ||
| common | ||
| crypto | ||
| json_util | ||
| ldap | ||
| netproxy | ||
| netsafe | ||
| random | ||
| reflect_util | ||
| sys | ||