Commit e46883d1 authored by Liang Ding's avatar Liang Ding

🎨 登录日志

parent 4bd18538
......@@ -226,6 +226,6 @@ public class OAuthGitHubProcessor {
user = userQueryService.getUserByEmailOrUserName(userName);
Solos.login(user, response);
context.sendRedirect(referer);
LOGGER.log(Level.INFO, "Logged in [email={0}, remoteAddr={1}] with GitHub oauth", userEmail, Requests.getRemoteAddr(request));
LOGGER.log(Level.INFO, "Logged in [name={0}, remoteAddr={1}] with GitHub oauth", userName, Requests.getRemoteAddr(request));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment