Skip to content

Commit

Permalink
Update link to 'set username and password' in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed Jul 19, 2018
1 parent 9b0d7e0 commit 1e1860d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Expand Up @@ -75,7 +75,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://govuk-prototype-kit.herokuapp.com/docs/publishing-on-heroku#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://govuk-prototype-kit.herokuapp.com/docs/publishing-on-heroku#6-set-a-username-and-password">See guidance for setting these</a>.</p>')
}

var user = basicAuth(req)
Expand Down

0 comments on commit 1e1860d

Please sign in to comment.