Skip to content

Commit

Permalink
Merge pull request #466 from tofu-rocketry/376-acc-linking-recovery-text
Browse files Browse the repository at this point in the history
Improve clarity of text and layout
  • Loading branch information
gregcorbett authored Aug 14, 2023
2 parents 72b4e00 + df00bed commit a8f10a7
Showing 1 changed file with 17 additions and 50 deletions.
67 changes: 17 additions & 50 deletions htdocs/web_portal/views/user/link_identity.php
Original file line number Diff line number Diff line change
@@ -1,59 +1,24 @@
<div class="rightPageContainer">
<h1>Link Identity or Recover an Account</h1>

<br />

<h1>Link Identifier or Recover an Account</h1>
<div>
<h2>What is identity linking?</h2>
<ul>
<li>
You can use this process to add your current authentication method as a way to log in to an existing account.
</li>
<li>
This allows access to a single account through two or more identifiers.
</li>
<li>
You must have access to the email address associated with the account being linked.
</li>
<li>
<b>Your current authentication type must be different to any authentication types already associated
with the account being linked.</b>
</li>
</ul>

<h2>What is account recovery?</h2>
<ul>
<li>
If your identifier has changed, you can use this process to update it and regain control of your old account.
</li>
<li>
You must have access to the email address associated with your old account.
</li>
<li>
<b>Your current authentication type must be the same as the authentication type you enter for your old account.</b>
</li>
This page allows you to either add a new identifier to an exisiting GOCDB
account, or recover a GOCDB account if your identifier has changed. You
must have access to the email address associated with that GOCDB account.
You must be authenticated with the new identifier.
</div>

<br />

<div class=Form_Holder>
<div class=Form_Holder_2>
<form name="Link_Identity" action="index.php?Page_Type=Link_Identity"
method="post" class="inputForm" id="linkIdentityForm">
<span>
<div>
Your current ID string (e.g. certificate DN) is: <label><?php echo $params['idString']; ?></label>
</span>
<br />
<span>
</div>
<div>
Your current authentication type is: <label id="currentAuthType"><?php echo $params['currentAuthType']; ?></label>
</span>

<br />
<br />
</div>

<h2>Details of account to be linked or recovered</h2>

<br />
<h2>Details of account to be linked to or recovered</h2>

<div class="form-group" id="authTypeGroup">
<label class="control-label" for="authType">Authentication type *</label>
Expand Down Expand Up @@ -104,8 +69,6 @@ class="form-control"
<br id="idStringPlaceholder" />
</div>

<br />

<div class="form-group" id="emailGroup">
<label class="control-label" for="email">E-mail address *
<label class="input_syntax" >(valid e-mail format)</label>
Expand All @@ -132,12 +95,15 @@ class="form-control"
<li class="hidden" id="linkingDetails"> If you successfully validate your <b>linking</b> request:
<ul>
<li>
Your <b>current ID string</b> and <b>authentication type</b> will be added as an alternative identifier to the account being linked.
Your <b>current ID string</b> and
<b>authentication type</b> will be added as
an alternative identifier to the account
being linked to.
</li>
</li>
<li <?php echo $params['registered'] ? "" : "hidden"; ?>>
Any roles you have with the account you are currently using will be requested
for the account being linked.
for the account being linked to.
</li>
<li <?php echo $params['registered'] ? "" : "hidden"; ?>>
These roles will be approved automatically if either account has permission to do so.
Expand Down Expand Up @@ -191,4 +157,5 @@ class="form-control"
}
</style>

<script type="text/javascript" src="<?php echo \GocContextPath::getPath(); ?>javascript/linking.js"></script>
<script type="text/javascript" src="<?php echo \GocContextPath::getPath(); ?>javascript/linking.js"></script>

0 comments on commit a8f10a7

Please sign in to comment.