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

Commit

Permalink
ui: Use new user token command for auth page
Browse files Browse the repository at this point in the history
The `waypoint token new` command has been deprecated in favor of using
`waypoint user token`. The authentication page should suggest using the
new command instead of the old one.

Fixes #2003
  • Loading branch information
briancain committed Aug 9, 2021
1 parent 2d47589 commit 9d4591c
Showing 1 changed file with 4 additions and 4 deletions.
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 9d4591c

Please sign in to comment.