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)) {
|
||||
return next();
|
||||
} else if (!req.signedCookies || !req.signedCookies.auth) {
|
||||
return nuext();
|
||||
return next();
|
||||
} else {
|
||||
session.verifySession(req.signedCookies.auth, (err, account) => {
|
||||
if (!err) {
|
||||
|
|
Loading…
Reference in New Issue