Skip to content

Commit

Permalink
Merge pull request #169 from alphagov/fix-url
Browse files Browse the repository at this point in the history
Fix broken url and typo
  • Loading branch information
joelanman committed Apr 5, 2016
2 parents 938c160 + 976ea1e commit 10ce0d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/publishing-on-heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ heroku apps:create [NAME OF YOUR APP] --region eu
```
Replace `[name of your app]` with what you want to call your prototype.

## 5) Set a username and passwordg
## 5) Set a username and password

By default, prototypes made with the kit require a username and password to be used when deployed on Heroku.

Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports.basicAuth = function(username, password) {

if (!username || !password) {
console.log('Username or password is not set.');
return res.send('<h1>Error:</h1><p>Username or password not set. <a href="https://github.com/alphagov/govuk_prototype_kit/blob/master/docs/deploying.md#3-set-a-username-and-password">See guidance for setting these</a>.</p>');
return res.send('<h1>Error:</h1><p>Username or password not set. <a href="https://github.com/alphagov/govuk_prototype_kit/blob/master/docs/guides/publishing-on-heroku.md#5-set-a-username-and-password">See guidance for setting these</a>.</p>');
}

var user = basicAuth(req);
Expand Down

0 comments on commit 10ce0d3

Please sign in to comment.