diff options
| Commit | 0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750 (patch) | |
|---|---|---|
| Author | 2020-12-10 18:57:42 +0200 | |
| Committer | 2020-12-10 18:57:42 +0200 | |
| Files | f3f7e801cf44904303633991c6deaa10cfb17d59 /API | |
| DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.tar DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.tar.gz DevHive-0f9b9b3ea29fb22b1bb28dd421e4c3f349ab6750.zip | ||
| Parent | e2171a923ab95ba031c08fe068a7e3ed73d0193d (diff) | |
FINALLY AUTOMAPPER SHIT WORKINGGGGG!!!
1 files changed, 1 insertions, 9 deletions
| -rw-r--r-- | API/Startup.cs | 10 |
diff --git a/API/Startup.cs b/API/Startup.cs index 087b523..dbe8fdd 100644 --- a/API/Startup.cs +++ b/API/Startup.cs @@ -41,7 +41,7 @@ namespace API {
options.User.RequireUniqueEmail = true;
- // options.Password.RequiredLength = 5;
+ options.Password.RequiredLength = 5;
});
services.AddSwaggerGen(c =>
@@ -76,14 +76,6 @@ namespace API {
endpoints.MapControllers();
});
-
- // Mapper configuration = new Mapper(new MapperConfiguration(cfg =>
- // {
- // cfg.CreateMap<User, UserDTO>();
- // cfg.CreateMap<UserDTO, User>();
- // }));
-
-
}
}
}
|
