@@ -136,7 +136,7 @@ namespace Teknik.GitService | |||
WHERE gogs.user.login_name = {0}"; | |||
var results = mySQL.Query(sql, new object[] { email }); | |||
DateTime lastActive = new DateTime(1, 0, 0); | |||
DateTime lastActive = new DateTime(1900, 1, 1); | |||
if (results != null && results.Any()) | |||
{ | |||
var result = results.First(); |
@@ -8,6 +8,9 @@ namespace Teknik.Utilities | |||
{ | |||
public static string GenerateCookieDomain(string domain, bool local, bool dev) | |||
{ | |||
#if DEBUG | |||
return null; | |||
#endif | |||
if (local) // localhost | |||
{ | |||
return null; |