Change input type to password (#586)

This commit is contained in:
scdhh 2022-04-04 20:23:01 +08:00 committed by GitHub
parent f7732101e8
commit a83c173eba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ const Auth: FC<{ redirect: string }> = ({ redirect }) => {
<input
className="flex-1 rounded border border-gray-600/10 p-2 font-mono focus:outline-none focus:ring focus:ring-blue-300 dark:bg-gray-600 dark:text-white dark:focus:ring-blue-700"
autoFocus
type="text"
type="password"
placeholder="************"
value={token}
onChange={e => {