mirror of
https://github.com/openziti/zrok.git
synced 2025-06-25 04:02:15 +02:00
account action text improvements
This commit is contained in:
parent
4fe29d73f9
commit
0d66e230e6
@ -16,7 +16,7 @@ const ActionsTab = (props) => {
|
|||||||
<div className={"actions-tab"}>
|
<div className={"actions-tab"}>
|
||||||
<div id={"change-password"} style={{"padding-top": "10px"}}>
|
<div id={"change-password"} style={{"padding-top": "10px"}}>
|
||||||
<h3>Change Password?</h3>
|
<h3>Change Password?</h3>
|
||||||
<p>Change your password here. Note that this will <strong>not</strong> log you out of any already logged in sessions.</p>
|
<p>Change the password used to log into the zrok web console.</p>
|
||||||
<Button variant={"danger"} onClick={openChangePasswordModal}>Change Password</Button>
|
<Button variant={"danger"} onClick={openChangePasswordModal}>Change Password</Button>
|
||||||
<ChangePassword show={showChangePasswordModal} onHide={closeChangePasswordModal} user={props.user}/>
|
<ChangePassword show={showChangePasswordModal} onHide={closeChangePasswordModal} user={props.user}/>
|
||||||
</div>
|
</div>
|
||||||
@ -24,20 +24,20 @@ const ActionsTab = (props) => {
|
|||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
<div id={"token-regeneration"}>
|
<div id={"token-regeneration"}>
|
||||||
<h3>Regenerate your account token <strong>(DANGER!)</strong>?</h3>
|
<h3>DANGER: Regenerate your account token?</h3>
|
||||||
<p>
|
<p>
|
||||||
Regenerating your account token will stop all environments and shares from operating properly!
|
Regenerating your account token will stop all environments and shares from operating properly!
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
You will need to <strong>manually</strong> edit your
|
You will need to <em><strong>manually</strong></em> edit your
|
||||||
<code> ${HOME}/.zrok/environment.json</code> files (in each environment) to use the new
|
<code> ${HOME}/.zrok/environment.json</code> files (in each environment) to use the new
|
||||||
<code> zrok_token</code> . Updating these files will restore the functionality of your environments.
|
<code> zrok_token</code>. Updating these files will restore the functionality of your environments.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Alternatively, you can just <code>zrok disable</code> any enabled environments and re-enable using the
|
Alternatively, you can just <code>zrok disable</code> any enabled environments and re-enable using the
|
||||||
new account token. Running <code>zrok disable</code> will <strong>delete</strong> your environments and
|
new account token. Running <code>zrok disable</code> will <em><strong>delete</strong></em> your environments and
|
||||||
any shares they contain (including reserved shares). So if you have environments and reserved shares you
|
any shares they contain (including reserved shares). So if you have environments and reserved shares you
|
||||||
need to preserve, your best bet is to update the <code>zrok_token</code> in those environments as
|
need to preserve, your best option is to update the <code>zrok_token</code> in those environments as
|
||||||
described above.
|
described above.
|
||||||
</p>
|
</p>
|
||||||
<Button variant={"danger"} onClick={openRegenerateTokenModal}>Regenerate Account Token</Button>
|
<Button variant={"danger"} onClick={openRegenerateTokenModal}>Regenerate Account Token</Button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user