webserver/routes/web-auth-route.js
Function exports
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = (function (){
function md5(str) {
var hash = crypto.createHash('md5');
hash.update(str.toLowerCase().trim());
Function configureApp
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
configureApp : function (app){
passport.use(new GoogleStrategy({
clientID: config.auth.GOOGLE_CLIENT_ID,
clientSecret: config.auth.GOOGLE_CLIENT_SECRET,