AuthManager
- Made `getUser(string)` public - Added note to it
This commit is contained in:
parent
e2d378f5a5
commit
6343121ba5
|
@ -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~"'");
|
||||
|
|
Loading…
Reference in New Issue