Order results in authentication page by timestamp (newest first)

This commit is contained in:
jvyden 2021-11-21 19:44:22 -05:00
commit 70cf34dd7e
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -20,6 +20,7 @@ namespace LBPUnion.ProjectLighthouse.Pages.ExternalAuth
this.AuthenticationAttempts = this.Database.AuthenticationAttempts.Include
(a => a.GameToken)
.Where(a => a.GameToken.UserId == this.User.UserId)
.OrderByDescending(a => a.Timestamp)
.ToList();
return this.Page();