-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add obsoletes function to node example app.
- Loading branch information
Showing
4 changed files
with
96 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
Copyright 2016-present, Facebook, Inc. | ||
All rights reserved. | ||
This source code is licensed under the license found in the | ||
LICENSE-examples file in the root directory of this source tree. | ||
--> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="/style.css" type="text/css"> | ||
<title>Welcome, {{username}}</title> | ||
</head> | ||
<body> | ||
<div id="title">Welcome, {{username}}</div> | ||
<div id="emoji">🔖</div> | ||
<div id="message"> | ||
Click the button below to confirm renewing your token: | ||
</div> | ||
<form method="POST" action="{{renew-action}}"> | ||
<input type="hidden" name="token" value="{{encoded-token}}"> | ||
<input type="hidden" name="state" value="{{state}}"> | ||
<input type="hidden" name="obsoletes" value="{{obsoletes}}"> | ||
<input type="hidden" name="nickname_hint" value="{{username}}"> | ||
<input class="button" type="submit" value="Confirm"> | ||
</form> | ||
</body> | ||
</html> |