@tyler9061/dsh-auth
dsh web 认证插件:登录保护、空闲自动登出、认证有效期、设置界面、`dsh web p` 重置密码 适合需为 Web 界面加登录保护的用户;支持设置界面与密码重置。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:optttt/dsh-authドキュメント
README 全文を読む ↗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 pprints a new random password (ordsh web p mypass);dsh web u newnamechanges the username (3-32 chars, letters/digits/_``-). - Login history: Settings > Auth lists recent successful logins (IP, time, GeoIP location); the last 50 are kept.