aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Services
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-02-05 19:15:55 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-02-05 19:15:55 +0200
commit9786681f475caef9c8d1d342e3b3a8ed2ea31c02 (patch)
tree938ec30864251f534d24b39622ef97d0ff9a12ec /src/DevHive.Services/Services
parent7f104af0a8e4004724a985499d155a217b7735e9 (diff)
downloadDevHive-9786681f475caef9c8d1d342e3b3a8ed2ea31c02.tar
DevHive-9786681f475caef9c8d1d342e3b3a8ed2ea31c02.tar.gz
DevHive-9786681f475caef9c8d1d342e3b3a8ed2ea31c02.zip
Fixed again user picture url on register
Diffstat (limited to 'src/DevHive.Services/Services')
-rw-r--r--src/DevHive.Services/Services/UserService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DevHive.Services/Services/UserService.cs b/src/DevHive.Services/Services/UserService.cs
index 8f9ebc4..cd004ee 100644
--- a/src/DevHive.Services/Services/UserService.cs
+++ b/src/DevHive.Services/Services/UserService.cs
@@ -83,7 +83,8 @@ namespace DevHive.Services.Services
User user = this._userMapper.Map<User>(registerModel);
user.PasswordHash = PasswordModifications.GeneratePasswordHash(registerModel.Password);
- user.ProfilePicture = new ProfilePicture() { PictureURL = string.Empty };
+ user.ProfilePicture = new ProfilePicture() { PictureURL = "/assets/images/feed/profile-pic.png":w
+ };
// Make sure the default role exists
//TODO: Move when project starts