diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs
index 93ffeac801..12b3dbf900 100644
--- a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs
+++ b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs
@@ -42,7 +42,7 @@ namespace Tgstation.Server.Host.Security
}
///
- public async Task CreateAuthenticationContext(long userId, long? instanceId, DateTimeOffset validBefore, CancellationToken cancellationToken)
+ public async Task CreateAuthenticationContext(long userId, long? instanceId, DateTimeOffset validAfter, CancellationToken cancellationToken)
{
if (CurrentAuthenticationContext != null)
throw new InvalidOperationException("Authentication context has already been loaded");
@@ -72,7 +72,7 @@ namespace Tgstation.Server.Host.Security
}
else
{
- if (user.LastPasswordUpdate.HasValue && user.LastPasswordUpdate > validBefore)
+ if (user.LastPasswordUpdate.HasValue && user.LastPasswordUpdate < validAfter)
{
CurrentAuthenticationContext = new AuthenticationContext();
return;
diff --git a/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs b/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs
index ccc1b403de..437ddae0d0 100644
--- a/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs
+++ b/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs
@@ -19,7 +19,7 @@ namespace Tgstation.Server.Host.Security
///
/// The of the
/// The of the operation
- /// The the resulting 's password must be valid before
+ /// The the resulting 's password must be valid after
/// The for the operation
/// A representing the running operation
Task CreateAuthenticationContext(long userId, long? instanceId, DateTimeOffset validBefore, CancellationToken cancellationToken);