mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 06:00:50 -07:00
Fixed #1189
This commit is contained in:
parent
4df12281c5
commit
9a1b0c49ec
4 changed files with 45 additions and 22 deletions
|
@ -128,6 +128,13 @@ namespace Ombi.UI.Modules
|
|||
{
|
||||
var user = UserHelper.GetUser(Username);
|
||||
var hashed = StringHasher.CalcuateMd5Hash(user.EmailAddress);
|
||||
if (string.IsNullOrEmpty(hashed))
|
||||
{
|
||||
return Response.AsJson(new JsonResponseModel
|
||||
{
|
||||
Result = false
|
||||
});
|
||||
}
|
||||
return
|
||||
Response.AsJson(new JsonResponseModel
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue