Skip to content

Commit

Permalink
Merge pull request #293 from garyboyle/feature/update-link-on-heroku-…
Browse files Browse the repository at this point in the history
…login-error-page

Updating the link to the 'Publishing on Heroku' docs
  • Loading branch information
joelanman authored Oct 18, 2016
2 parents e763321 + d298653 commit f517338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ exports.basicAuth = function (username, password) {
return function (req, res, next) {
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/guides/publishing-on-heroku.md#5-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/documentation/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 f517338

Please sign in to comment.