ShekharReddy4 / openmrs-contrib-atlas-node

Migrating openmrs-contrib-atlas from php Laravel Framework to Node.js app
http://atlas.openmrs.org
6 stars 2 forks source link

Add authentication for post routes #7

Closed HelioStrike closed 5 years ago

HelioStrike commented 5 years ago

PR made to solve this issue. Weirdly... the code I wrote there isn't tested, as I've no clue how to setup the url 'http://localhost:8080/authenticate/atlas', which is where the '/login/' redirects to. If you could provide me with the information about setting it up, I think I could confirm whether the code I wrote fits. Thank You.