Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2006 from hashicorp/ui/wp-user-token-auth-page
Browse files Browse the repository at this point in the history
ui: Use new user token command for auth page
  • Loading branch information
briancain authored Aug 9, 2021
2 parents 2d47589 + aa7a99f commit ee0a89e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/2006.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Update authentication page with new supported `waypoint user token` command.
```
8 changes: 4 additions & 4 deletions ui/app/components/login-token/index.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<form {{on "submit" this.login}} class="login">
<fieldset>
<label>{{t 'login.instruction'}}</label>
<CopyableCode @ref="waypoint-token-new">
<pre><code id="waypoint-token-new">waypoint token new</code></pre>
<CopyableCode @ref="waypoint-user-token">
<pre><code id="waypoint-user-token">waypoint user token</code></pre>
</CopyableCode>
<small><ExternalLink href="https://waypointproject.io/commands/token-new">Read more in our documentation</ExternalLink></small>
<small><ExternalLink href="https://waypointproject.io/commands/user-token">Read more in our documentation</ExternalLink></small>
</fieldset>

<fieldset>
Expand All @@ -23,4 +23,4 @@
class="button button--primary">
{{t 'login.button'}}
</button>
</form>
</form>

0 comments on commit ee0a89e

Please sign in to comment.