mirror of
https://github.com/exzork/gc-tools.git
synced 2024-11-21 22:58:25 +00:00
show token/otp
This commit is contained in:
parent
5273ce37d3
commit
a5bfdcc266
@ -272,8 +272,12 @@ export default function GCAuth() {
|
|||||||
<button
|
<button
|
||||||
className="mt-auto bg-indigo-600 hover:bg-indigo-500 text-white font-bold py-2 px-4 rounded-md w-full">Login
|
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>
|
||||||
<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
|
<input type="text" onClick={(e) => {
|
||||||
</button>
|
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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-span-1">
|
<div className="col-span-1">
|
||||||
|
Loading…
Reference in New Issue
Block a user