mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-03 20:01:28 +00:00
Use UtcNow instead of Now for internal time keeping (#965)
This commit is contained in:
parent
c529dada35
commit
092f8bc5a2
15 changed files with 26 additions and 26 deletions
|
@ -109,7 +109,7 @@ public class UserEndpoints : ApiEndpointController
|
|||
|
||||
RegistrationTokenEntity token = new()
|
||||
{
|
||||
Created = DateTime.Now,
|
||||
Created = DateTime.UtcNow,
|
||||
Token = CryptoHelper.GenerateAuthToken(),
|
||||
Username = username,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue