Minor changes

master
Keith Irwin 2017-04-21 21:00:38 -04:00
parent f7d2fd3482
commit 059c3bd91d
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
3 changed files with 10 additions and 8 deletions

View File

@ -23,7 +23,7 @@ module.exports = (app, passport) => {
res.redirect( req.session.next || '/map' );
},
appLoginCallback = (req,res,next)=>{
console.log('appLoginCallback called.');
// console.log('appLoginCallback called.');
if (req.user){ res.send(req.user); }
else {
let err = new Error("Unauthorized");

View File

@ -144,7 +144,9 @@ const
// Development handlers
else {
app.use( (err,req,res,next)=>{
console.error(`${err.stack}`);
if (err.status!==404) {
console.error(`${err.stack}`);
}
if (res.headersSent) { return next(err); }
res.status(err.status||500);
res.render('error', {

View File

@ -54,22 +54,22 @@ form #social-login {
font-size: .6em;
}
#social-login .btn.gp {
background: rgb(206,77,57);
background: #ce4d39;
}
#social-login .btn.gp:hover {
background: rgb(251,122,102);
background: #fb7a66;
}
#social-login .btn.fb {
background: rgb(48,88,145);
background: #305891;
}
#social-login .btn.fb:hover {
background: rgb(93,133,190);
background: #5d85be;
}
#social-login .btn.tw {
background: rgb(44,168,210);
background: #2ca8d2;
}
#social-login .btn.tw:hover {
background: rgb(89,213,255);
background: #59d5ff;
}
/* Small buttons */
@media (max-width:600px), (min-width:800px) and (max-width:1200px) {