mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
interface/profile: hide 'log out of all'
Non-functional. Requires 'all' in post body, and hasn't been tested.
This commit is contained in:
parent
e63c050a6e
commit
ff40759e82
@ -17,9 +17,9 @@ export default function SecuritySettings({ api }: SecuritySettingsProps) {
|
|||||||
Log out of this session
|
Log out of this session
|
||||||
</Box>
|
</Box>
|
||||||
<Box fontSize={0} mt={2} color="gray">
|
<Box fontSize={0} mt={2} color="gray">
|
||||||
You will be logged out of your Urbit on this browser
|
You will be logged out of your Urbit on this browser.
|
||||||
<form method="post" action="/~/logout">
|
<form method="post" action="/~/logout">
|
||||||
<Button narrow mt={2} border={1}>
|
<Button narrow mt='4' border={1}>
|
||||||
Logout
|
Logout
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
@ -27,15 +27,15 @@ export default function SecuritySettings({ api }: SecuritySettingsProps) {
|
|||||||
<Box color="black" fontSize={0} mt={4} fontWeight={700}>
|
<Box color="black" fontSize={0} mt={4} fontWeight={700}>
|
||||||
Log out of all sessions
|
Log out of all sessions
|
||||||
</Box>
|
</Box>
|
||||||
|
{/* Restore after testing sending 'all' in POST body
|
||||||
<Box fontSize={0} mt={2} color="gray">
|
<Box fontSize={0} mt={2} color="gray">
|
||||||
You will be logged out of all browsers that have currently logged into
|
You will be logged out of all browsers that have currently logged into your Urbit.
|
||||||
your Urbit
|
|
||||||
<form method="post" action="/~/logout">
|
<form method="post" action="/~/logout">
|
||||||
<Button error narrow mt={2} border={1}>
|
<Button error narrow mt={4} border={1}>
|
||||||
Logout Everywhere
|
Logout
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
</Box>
|
</Box> */}
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user