인증 실패 화면을 단순하게 정리

This commit is contained in:
seo
2026-06-29 04:53:36 +09:00
parent d471799c5c
commit cd9ce0833f
2 changed files with 10 additions and 12 deletions
+9 -11
View File
@@ -539,17 +539,15 @@ document.addEventListener('DOMContentLoaded', () => {
location.href = '/blog';
});
function renderAuthErrorPage() {
document.body.innerHTML = `
<main class="find-auth-error">
<section class="find-auth-error-box">
<h1>인증이 필요합니다</h1>
<p>런처에서 관리자 세션 또는 공통 비밀번호 인증을 완료한 뒤 나의 찾기에 접속할 수 있습니다.</p>
<a href="/blog">런처로 이동</a>
</section>
</main>
`;
}
function renderAuthErrorPage() {
document.body.innerHTML = `
<main class="find-auth-error">
<section class="find-auth-error-box">
<h1>인증이 필요합니다</h1>
</section>
</main>
`;
}
if (location.pathname.startsWith('/findmydevice')) {
fetch('/custom/launcher/api.php?session=1', { credentials: 'same-origin' })