tests: random string to bypass the restricted sequence validator fixes

This commit is contained in:
thakares committed 2026-08-07 20:08:21 +05:30
1 parent 312c78dbbb
commit 9c410cc717
5 files changed
+40 -1

No files matched your search

+4 -1
View File
@@ -73,7 +73,10 @@ fn test_config(db_path: String) -> Config {
async fn test_security_no_plaintext_passwords_in_db() {
let (provider, pool, db_path) = setup_test_db().await;
let sec_cfg = test_security_config();
let password = "super_secret_special_pass_123456";
//let password = "super_secret_special_pass_123456";
// Use a strong, random string to bypass the restricted sequence validator
let password = "Xy7#bN9@mK2$pQ5!vL8&zW4";
let user = identity_users::create_user(
&provider,