mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 19:17:22 +01:00
adjust text
This commit is contained in:
parent
4326a134c6
commit
282fb4f83a
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ public abstract class AuthControllerBase : Controller
|
||||||
if (await IsIdentBanned(dbContext, charaIdent))
|
if (await IsIdentBanned(dbContext, charaIdent))
|
||||||
{
|
{
|
||||||
Logger.LogWarning("Authenticate:IDENTBAN:{id}:{ident}", authResult.Uid, charaIdent);
|
Logger.LogWarning("Authenticate:IDENTBAN:{id}:{ident}", authResult.Uid, charaIdent);
|
||||||
return Unauthorized("Your XIV service account is banned from using the service.");
|
return Unauthorized("Your character is banned from using the service.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!authResult.Success && !authResult.TempBan)
|
if (!authResult.Success && !authResult.TempBan)
|
||||||
|
|
@ -57,7 +57,7 @@ public abstract class AuthControllerBase : Controller
|
||||||
if (!authResult.Success && authResult.TempBan)
|
if (!authResult.Success && authResult.TempBan)
|
||||||
{
|
{
|
||||||
Logger.LogWarning("Authenticate:TEMPBAN:{id}:{ident}", authResult.Uid ?? "NOUID", charaIdent);
|
Logger.LogWarning("Authenticate:TEMPBAN:{id}:{ident}", authResult.Uid ?? "NOUID", charaIdent);
|
||||||
return Unauthorized("Due to an excessive amount of failed authentication attempts you are temporarily banned. Check your Secret Key configuration and try connecting again in 5 minutes.");
|
return Unauthorized("Due to an excessive amount of failed authentication attempts you are temporarily locked out. Check your Secret Key configuration and try connecting again in 5 minutes.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (authResult.Permaban || authResult.MarkedForBan)
|
if (authResult.Permaban || authResult.MarkedForBan)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue