mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed git service not getting LastActive correctly
This commit is contained in:
parent
430a77f5ac
commit
829b773e71
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user