From 587a2cb0c481e08eecaa06af5bc535c2029e3d2e Mon Sep 17 00:00:00 2001 From: Timo Notheisen Date: Mon, 28 Oct 2024 13:45:18 +0100 Subject: [PATCH 1/2] chore: add uppercase letter, digit and non-alphanumeric character to passwords --- .../Users/Commands/SeedTestUsers/Handler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs index fd5b3a1523..028e781e22 100644 --- a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs @@ -26,7 +26,7 @@ public async Task Handle(SeedTestUsersCommand request, CancellationToken cancell var identityA = Identity.CreateTestIdentity(IdentityAddress.Create([1, 1, 1, 1, 1], _applicationOptions.DidDomainName), [1, 1, 1, 1, 1], basicTier!.Id, "USRa"); var identityB = Identity.CreateTestIdentity(IdentityAddress.Create([2, 2, 2, 2, 2], _applicationOptions.DidDomainName), [2, 2, 2, 2, 2], basicTier.Id, "USRb"); - await _identitiesRepository.Add(identityA, "aaaaaaaaaa"); - await _identitiesRepository.Add(identityB, "bbbbbbbbbb"); + await _identitiesRepository.Add(identityA, "Aa1......."); + await _identitiesRepository.Add(identityB, "Bb1......."); } } From 55bf141800976a576f0feffad8d117b98f27ec7b Mon Sep 17 00:00:00 2001 From: Timo Notheisen Date: Mon, 28 Oct 2024 13:50:08 +0100 Subject: [PATCH 2/2] chore: change password --- .../Users/Commands/SeedTestUsers/Handler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs index 028e781e22..81446d8519 100644 --- a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs @@ -26,7 +26,7 @@ public async Task Handle(SeedTestUsersCommand request, CancellationToken cancell var identityA = Identity.CreateTestIdentity(IdentityAddress.Create([1, 1, 1, 1, 1], _applicationOptions.DidDomainName), [1, 1, 1, 1, 1], basicTier!.Id, "USRa"); var identityB = Identity.CreateTestIdentity(IdentityAddress.Create([2, 2, 2, 2, 2], _applicationOptions.DidDomainName), [2, 2, 2, 2, 2], basicTier.Id, "USRb"); - await _identitiesRepository.Add(identityA, "Aa1......."); - await _identitiesRepository.Add(identityB, "Bb1......."); + await _identitiesRepository.Add(identityA, "Aaaaaaaa1!"); + await _identitiesRepository.Add(identityB, "Bbbbbbbb1!"); } }