Keep password change on main management
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
```html
|
||||
<meta charset="UTF-8">
|
||||
<link href="/custom/launcher/css/style.css" rel="stylesheet" />
|
||||
<link href="/custom/common/css/launcher.css" rel="stylesheet" />
|
||||
<div id="findMyShortcut" class="find-container"></div>
|
||||
<script src="/custom/launcher/js/main.js"></script>
|
||||
```
|
||||
@@ -22,13 +22,14 @@
|
||||
|
||||
- `api.php`: 로그인, 로그아웃, 암호 변경, 콕 찌르기 카운트/웹훅 처리
|
||||
- `js/main.js`: 4개 아이콘 렌더링, 인증 흐름, 암호 변경 UI
|
||||
- `css/style.css`: iOS 테마 배너 스타일
|
||||
- `img/`: 런처 아이콘 이미지
|
||||
|
||||
## 공통 모듈 연동
|
||||
|
||||
인증, 암호 hash 저장, Home Assistant 호출은 `/custom/common` 모듈을 사용합니다. 런처는 더 이상 Home Assistant 토큰이나 웹훅을 브라우저로 직접 노출하지 않습니다.
|
||||
|
||||
런처 CSS는 `/custom/common/css/launcher.css`를 사용합니다. 서비스 폴더에는 런처 전용 PHP, JS, 이미지 파일만 둡니다.
|
||||
|
||||
## 운영 메모
|
||||
|
||||
메인 버튼은 기존 4개를 유지합니다. 암호 변경은 배너 우하단의 작은 `관리` 링크에서 처리합니다.
|
||||
메인 버튼은 기존 4개를 유지합니다. 암호 변경은 배너 우하단의 작은 `관리` 링크에서 처리하며, 기능 버튼 진입을 위한 비밀번호 입력 화면에는 암호 변경 링크를 노출하지 않습니다.
|
||||
|
||||
Reference in New Issue
Block a user