mirror of https://github.com/calzoneman/sync.git
Fix typo
This commit is contained in:
parent
de9b963d38
commit
47ef670f34
|
@ -5,7 +5,7 @@ export default function initialize(app, session) {
|
||||||
if (STATIC_RESOURCE.test(req.path)) {
|
if (STATIC_RESOURCE.test(req.path)) {
|
||||||
return next();
|
return next();
|
||||||
} else if (!req.signedCookies || !req.signedCookies.auth) {
|
} else if (!req.signedCookies || !req.signedCookies.auth) {
|
||||||
return nuext();
|
return next();
|
||||||
} else {
|
} else {
|
||||||
session.verifySession(req.signedCookies.auth, (err, account) => {
|
session.verifySession(req.signedCookies.auth, (err, account) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
|
|
Loading…
Reference in New Issue