⚛️Framework for building a testable, modular backend with a dependency injection pattern in plain JavaScript.
133
stars
13
forks
source link
Hadron-auth's isRouteNotSecure utility function shouldn't check for negative conditions #42
Closed
marekbrainhub closed 6 years ago
https://github.com/brainhubeu/hadron/blob/d29b8edf0377f0b91b18c541342f57d38f4a6c74/packages/hadron-auth/src/HadronAuth.ts#L144
This function should be rewritten to check whether a route is secure, rather than whether it's not secure.