AuthManager

- Made `getUser(string)` public
- Added note to it
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-19 16:12:05 +02:00
parent e2d378f5a5
commit 6343121ba5
1 changed files with 4 additions and 1 deletions

View File

@ -155,7 +155,8 @@ public class AuthManager
this.provider = provider;
}
private User* getUser(string username)
// NOTE: Don't try de-allocate it, smart ass
public User* getUser(string username)
{
User* foundUser;
@ -195,6 +196,8 @@ public class AuthManager
this.usersLock.unlock();
}
public bool authenticate(string username, string password)
{
logger.dbg("Authentication request for user '"~username~"' with password '"~password~"'");