mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
profile: log out of all sessions
This was hidden in urbit-os-v1.0.44 until we could ensure it actually logged you out of all sessions. It requires a hidden input to function, so it's added here. Fixes #2649.
This commit is contained in:
parent
13b5851b71
commit
3c0dc59747
@ -24,18 +24,18 @@ export default function SecuritySettings({ api }: SecuritySettingsProps) {
|
||||
</Button>
|
||||
</form>
|
||||
</Box>
|
||||
{/* <Box color="black" fontSize={0} mt={4} fontWeight={700}>
|
||||
<Box color="black" fontSize={0} mt={4} fontWeight={700}>
|
||||
Log out of all sessions
|
||||
</Box> */}
|
||||
{/* Restore after testing sending 'all' in POST body
|
||||
</Box>
|
||||
<Box fontSize={0} mt={2} color="gray">
|
||||
You will be logged out of all browsers that have currently logged into your Urbit.
|
||||
<form method="post" action="/~/logout">
|
||||
<input type="hidden" name="all" />
|
||||
<Button error narrow mt={4} border={1}>
|
||||
Logout
|
||||
</Button>
|
||||
</form>
|
||||
</Box> */}
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user