>>470
login.js

// if (location.pathname === '/village.php') {
  ↓
if (document.body.className === "current_owner_main") {
location.href='/user_change.php';
} else if ( location.pathname === "/village.php") {