Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-cognizant committed Mar 7, 2024
1 parent 4e83ea4 commit 61a4585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/home/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const homeController = {

const loginController = {
handler: (request, h) => {
// test
if (request.payload.password === 'n1tr0g3n') {
request.cookieAuth.set({ password: request.payload.password })
return h.redirect('/aqie-front-end/check-local-air-quality')
Expand Down

0 comments on commit 61a4585

Please sign in to comment.