feat: 添加 password 模式

This commit is contained in:
loveuer
2024-10-31 14:35:52 +08:00
parent aefc004e33
commit 9e8a47a7c6
4 changed files with 115 additions and 41 deletions

View File

@@ -20,7 +20,7 @@
<body>
<div>
<h3>这里是 xx 产品登录页面</h3>
<form>
<form action="/login" method="post">
<fieldset>
<label>
Username
@@ -41,10 +41,11 @@
</label>
</fieldset>
<input
<button
data-tooltip="采用 OAuth V2 登录(密码模式)"
type="submit"
value="登录"
/>
>登录</button>
<a href="/login?oauth=true">使用 OAuth V2 账号登录</a>
</form>
</div>