Urgent correction of version v1.0.0-beta.14 due to crash issues when acting on the CDN.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -34,9 +34,9 @@ passport.serializeUser((user, done) => {
|
||||
|
||||
passport.deserializeUser(async (id, done) => {
|
||||
const users = await getUserData();
|
||||
|
||||
|
||||
const user = users.find(u => u.name === id || u.name === `.${id}`);
|
||||
|
||||
|
||||
if (user) {
|
||||
return done(null, user);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user