@page "/authentication" @using LBPUnion.ProjectLighthouse.PlayerData @model LBPUnion.ProjectLighthouse.Servers.Website.Pages.ExternalAuth.AuthenticationPage @{ Layout = "Layouts/BaseLayout"; Model.Title = "Linked Accounts"; string timeZone = Model.GetTimeZone(); TimeZoneInfo timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById(timeZone); } @if (Model.LinkAttempts.Count == 0) {
You have no pending link attempts.
} else {You have @Model.LinkAttempts.Count authentication attempts pending.
@if (Model.IpAddress != null) {This device's IP address is @(Model.IpAddress.ToString()). If this matches with a link attempt below, then it's safe to assume the link attempt came from the same network as this device.
} } @foreach (PlatformLinkAttempt authAttempt in Model.LinkAttempts) { DateTimeOffset timestamp = TimeZoneInfo.ConvertTime(DateTimeOffset.FromUnixTimeMilliseconds(authAttempt.Timestamp), timeZoneInfo);A @authAttempt.Platform link request was logged at @timestamp.ToString("M/d/yyyy @ h:mm tt") from the IP address @authAttempt.IPAddress.
If you approve this request it will override any other linked accounts you have