mirror of
https://github.com/exzork/gc-tools.git
synced 2024-11-21 14:48:33 +00:00
show token/otp
This commit is contained in:
parent
5273ce37d3
commit
a5bfdcc266
@ -272,8 +272,12 @@ export default function GCAuth() {
|
||||
<button
|
||||
className="mt-auto bg-indigo-600 hover:bg-indigo-500 text-white font-bold py-2 px-4 rounded-md w-full">Login
|
||||
</button>
|
||||
<button onClick={handleCopyToken} className="mt-2 bg-indigo-600 hover:bg-indigo-500 text-white font-bold py-2 px-4 rounded-md w-full">Copy Token
|
||||
</button>
|
||||
<input type="text" onClick={(e) => {
|
||||
navigator.clipboard.writeText(e.currentTarget.value)
|
||||
}}
|
||||
placeholder="Your token here"
|
||||
className="mt-2 block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md"
|
||||
value={token} readOnly/>
|
||||
</form>
|
||||
</div>
|
||||
<div className="col-span-1">
|
||||
|
Loading…
Reference in New Issue
Block a user