mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 15:07:23 +01:00
add vanity uid for check for uid in userinfo for admin purposes
This commit is contained in:
parent
edb3cd3356
commit
e852fae68f
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ public class MareModule : InteractionModuleBase
|
|||
}
|
||||
else if (uid != null)
|
||||
{
|
||||
userInDb = await db.LodeStoneAuth.Include(u => u.User).SingleOrDefaultAsync(u => u.User.UID == uid).ConfigureAwait(false);
|
||||
userInDb = await db.LodeStoneAuth.Include(u => u.User).SingleOrDefaultAsync(u => u.User.UID == uid || u.User.Alias == uid).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
if (userInDb == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue