인증 실패 화면을 단순하게 정리
This commit is contained in:
+9
-11
@@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user