mirror of https://github.com/tailscale/tailscale/
client/web: rename Disconnect to Log out
For consistency w/ the CLI command. And to be more accurate to what is actually happening on this action - node key is expired. Also updates the disconnected view shown after logout. Updates #10261 Signed-off-by: Sonia Appasamy <sonia@tailscale.com>pull/10476/head
parent
133699284e
commit
55d302b48e
@ -0,0 +1,21 @@
|
|||||||
|
// Copyright (c) Tailscale Inc & AUTHORS
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
import React from "react"
|
||||||
|
import { ReactComponent as TailscaleIcon } from "src/assets/icons/tailscale-icon.svg"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DisconnectedView is rendered after node logout.
|
||||||
|
*/
|
||||||
|
export default function DisconnectedView() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<TailscaleIcon className="mx-auto" />
|
||||||
|
<p className="mt-12 text-center text-text-muted">
|
||||||
|
You logged out of this device. To reconnect it you will have to
|
||||||
|
re-authenticate the device from either the Tailscale app or the
|
||||||
|
Tailscale command line interface.
|
||||||
|
</p>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue