code4romania / de-urgenta-backend

De Urgență backend - web & mobile
https://de-urgenta-backend.vercel.app/
Mozilla Public License 2.0
10 stars 21 forks source link

Read IdentityOptions from appsettings.json #90

Closed idormenco closed 3 years ago

idormenco commented 3 years ago

In BootstrappingExtensions in method AddBearerAuth read from Configuration settings for password.

              // Password settings.
                options.Password.RequireDigit = false;
                options.Password.RequireLowercase = false;
                options.Password.RequireNonAlphanumeric = false;
                options.Password.RequireUppercase = false;
                options.Password.RequiredLength = 6;
                options.Password.RequiredUniqueChars = 0;
VladCuciureanu commented 3 years ago

Working on it 😁

idormenco commented 3 years ago

@VladCuciureanu all yours