account action text improvements

This commit is contained in:
Michael Quigley 2024-02-28 11:24:50 -05:00
parent 4fe29d73f9
commit 0d66e230e6
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -16,7 +16,7 @@ const ActionsTab = (props) => {
<div className={"actions-tab"}>
<div id={"change-password"} style={{"padding-top": "10px"}}>
<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>
<ChangePassword show={showChangePasswordModal} onHide={closeChangePasswordModal} user={props.user}/>
</div>
@ -24,20 +24,20 @@ const ActionsTab = (props) => {
<hr/>
<div id={"token-regeneration"}>
<h3>Regenerate your account token <strong>(DANGER!)</strong>?</h3>
<h3>DANGER: Regenerate your account token?</h3>
<p>
Regenerating your account token will stop all environments and shares from operating properly!
</p>
<p>
You will need to <strong>manually</strong> edit your
You will need to <em><strong>manually</strong></em> edit your
<code> &#36;&#123;HOME&#125;/.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>
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
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.
</p>
<Button variant={"danger"} onClick={openRegenerateTokenModal}>Regenerate Account Token</Button>