optttt/dsh-auth ↗★ 0

@tyler9061/dsh-auth

dsh web 认证插件:登录保护、空闲自动登出、认证有效期、设置界面、`dsh web p` 重置密码 适合需为 Web 界面加登录保护的用户;支持设置界面与密码重置。

패키지
@tyler9061/dsh-auth
호환성
미검증
버전
0.1.7
라이선스
MIT
최근 업데이트
2026. 8. 20.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:optttt/dsh-auth

Usage

  • On first start the server console prints the initial username and password (default username admin). Visiting the web UI redirects to /login.
  • Settings > Auth: change username / password, idle logout minutes, session max age (minutes), single sign-on, and sign out.
  • Single sign-on: when enabled, every new login invalidates all other sessions. Kicked clients land on the login page with a warning — "if this was not you, change the password immediately".
  • Forgot credentials: dsh web p prints a new random password (or dsh web p mypass); dsh web u newname changes the username (3-32 chars, letters/digits/_``-).
  • Login history: Settings > Auth lists recent successful logins (IP, time, GeoIP location); the last 50 are kept.