Skip to content

Commit

Permalink
Merge pull request #126 from Dapp-Learning-DAO/dev
Browse files Browse the repository at this point in the history
add log
  • Loading branch information
yanyanho authored Jan 16, 2024
2 parents 6a89edf + 4fe660a commit 8d9e376
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,14 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
log.info("Login filter session id {}, request {}", request.getSession().getId(), request.getRequestURI());

Cookie[] cookies = request.getCookies();


List<String> domains = new ArrayList<>();

// for v1.0.1 login problem, pls delete this code in the future
if (cookies != null) {
for (Cookie cookie : cookies) {
logger.info("login filter cookie: "+ cookie.getName());
String domain = cookie.getDomain();
if (domain != null && !domain.isEmpty()) {
logger.info("login filter domains: "+ domain);
Expand Down

0 comments on commit 8d9e376

Please sign in to comment.