Commit c756887223d5685247d6f49734f73f0823f9486e

Authored by Utkarsh Singh
1 parent ef3ad676

Parameter assignment changed

400-SOURCECODE/AIAHTML5.API/Controllers/ForgotUserController.cs
... ... @@ -49,13 +49,13 @@ namespace AIAHTML5.API.Controllers
49 49 {
50 50 logger.Debug("2. havePassword= " + Convert.ToBoolean(userInfo["havePassword"]));
51 51  
52   - isMailSent = AIAHTML5.API.Models.UserUtility.SendEmail(userData, true);
  52 + isMailSent = AIAHTML5.API.Models.UserUtility.SendEmail(userData, Convert.ToBoolean(userInfo["havePassword"]));
53 53 }
54 54 else
55 55 {
56 56 logger.Debug("3. havePassword= " + Convert.ToBoolean(userInfo["havePassword"]));
57 57  
58   - isMailSent = AIAHTML5.API.Models.UserUtility.SendEmail(userData, false);
  58 + isMailSent = AIAHTML5.API.Models.UserUtility.SendEmail(userData, Convert.ToBoolean(userInfo["havePassword"]));
59 59 }
60 60 logger.Debug("isMailSent= " + isMailSent);
61 61 if (isMailSent)
... ...
400-SOURCECODE/AIAHTML5.API/Models/UserUtility.cs
... ... @@ -21,7 +21,7 @@ namespace AIAHTML5.API.Models
21 21 public static bool SendEmail(dynamic UserDetails, bool havePassword)
22 22 {
23 23 ILog logger = log4net.LogManager.GetLogger((System.Reflection.MethodBase.GetCurrentMethod().DeclaringType));
24   - logger.Debug("inside SendEmail in for isPassword =" + havePassword);
  24 + logger.Debug("inside SendEmail in for havePassword =" + havePassword);
25 25  
26 26 try
27 27 {
... ...
400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
No preview for this file type
400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll.config
... ... @@ -37,7 +37,7 @@
37 37 <add key="SMTPAddress" value="10.100.12.13" />
38 38 <add key="SMTPPort" value="25" />
39 39 <add key="EnableSSL" value="false" />
40   - <add key="Site_Url" value ="//52.2.38.120"/>
  40 + <add key="Site_Url" value ="http://34.207.39.107/"/>
41 41 <add key ="HostAddress" value="10.100.12.13" />
42 42 <add key="isUserAuthenticated" value="false"/>
43 43 <add key="AdminSupport" value="amrita.vishnoi@ebix.com,nikita.kulshreshtha@ebix.com"/>
... ...
400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
No preview for this file type