mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 09:33:36 +00:00
Add path to http request logging, add email to local account creation through web endpoint
This commit is contained in:
1 parent
63e1599e9b
commit
5ff0f4851e
1 file changed
+4
-3
@@ -76,7 +76,7 @@ namespace LoginserverWebserver {
|
||||
return;
|
||||
}
|
||||
|
||||
bool account_created = AccountManagement::CreateLocalLoginServerAccount(username, password);
|
||||
bool account_created = AccountManagement::CreateLocalLoginServerAccount(username, password, email);
|
||||
if (account_created) {
|
||||
response["message"] = "Account created successfully!";
|
||||
}
|
||||
@@ -218,10 +218,11 @@ namespace LoginserverWebserver {
|
||||
}
|
||||
|
||||
LogDebug(
|
||||
"Authentication Request | remote_address [{0}] user_agent [{1}] authorization_key [{2}]",
|
||||
"Authentication Request | remote_address [{0}] user_agent [{1}] authorization_key [{2}] request_path [{3}]",
|
||||
user_token.remote_address,
|
||||
user_token.user_agent,
|
||||
authorization_key
|
||||
authorization_key,
|
||||
request.path
|
||||
);
|
||||
|
||||
return user_token;
|
||||
|
||||
Reference in new issue
Block a user