diff options
| author | 2024-05-27 19:03:54 +0200 | |
|---|---|---|
| committer | 2024-05-27 17:03:54 +0000 | |
| commit | a276b1ca06ce3ebfc201b9aaf3aa8c37c98fe584 (patch) | |
| tree | 861d2c9c7440fd6b602f46a3e18a55b4c31718d1 /web/source/settings/views/admin/actions/keys | |
| parent | [experiment] add alternative wasm sqlite3 implementation available via build-... (diff) | |
| download | gotosocial-a276b1ca06ce3ebfc201b9aaf3aa8c37c98fe584.tar.xz | |
[feature/frontend] Let admins send test email to validate SMTP config (#2934)
* [feature/frontend] Let admins send test email to validate SMTP config
* wee
Diffstat (limited to 'web/source/settings/views/admin/actions/keys')
| -rw-r--r-- | web/source/settings/views/admin/actions/keys/expireremote.tsx | 25 | ||||
| -rw-r--r-- | web/source/settings/views/admin/actions/keys/index.tsx | 5 |
2 files changed, 17 insertions, 13 deletions
diff --git a/web/source/settings/views/admin/actions/keys/expireremote.tsx b/web/source/settings/views/admin/actions/keys/expireremote.tsx index 82045942c..d695ec0c8 100644 --- a/web/source/settings/views/admin/actions/keys/expireremote.tsx +++ b/web/source/settings/views/admin/actions/keys/expireremote.tsx @@ -21,7 +21,7 @@ import React from "react"; import { TextInput } from "../../../../components/form/inputs"; import MutationButton from "../../../../components/form/mutation-button"; import { useTextInput } from "../../../../lib/form"; -import { useInstanceKeysExpireMutation } from "../../../../lib/query/admin"; +import { useInstanceKeysExpireMutation } from "../../../../lib/query/admin/actions"; export default function ExpireRemote({}) { const domainField = useTextInput("domain"); @@ -35,15 +35,20 @@ export default function ExpireRemote({}) { return ( <form onSubmit={submitExpire}> - <h2>Expire remote instance keys</h2> - <p> - Mark all public keys from the given remote instance as expired.<br/><br/> - This is useful in cases where the remote domain has had to rotate their keys for whatever - reason (security issue, data leak, routine safety procedure, etc), and your instance can no - longer communicate with theirs properly using cached keys. A key marked as expired in this way - will be lazily refetched next time a request is made to your instance signed by the owner of that - key. - </p> + <div className="form-section-docs"> + <h2>Expire remote instance keys</h2> + <p> + Mark all public keys from the given remote instance as expired. + <br/> + This is useful in cases where the remote domain has had to rotate + their keys for whatever reason (security issue, data leak, routine + safety procedure, etc), and your instance can no longer communicate + with theirs properly using cached keys. + <br/> + A key marked as expired in this way will be lazily refetched next time + a request is made to your instance signed by the owner of that key. + </p> + </div> <TextInput field={domainField} label="Domain" diff --git a/web/source/settings/views/admin/actions/keys/index.tsx b/web/source/settings/views/admin/actions/keys/index.tsx index 74bfd36ee..a1460b59f 100644 --- a/web/source/settings/views/admin/actions/keys/index.tsx +++ b/web/source/settings/views/admin/actions/keys/index.tsx @@ -22,9 +22,8 @@ import ExpireRemote from "./expireremote"; export default function Keys() { return ( - <> - <h1>Key Actions</h1> + <div className="admin-actions-keys"> <ExpireRemote /> - </> + </div> ); } |
