mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 15:21:56 +00:00
Random user on flag
This commit is contained in:
parent
87faeab649
commit
c61681997a
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module.exports = io => {
|
|||
}
|
||||
|
||||
if (!session || typeof session.user !== 'number') {
|
||||
if (env === 'staging') {
|
||||
if (process.env.RANDOM_USER) {
|
||||
return assignRandomUser(socket, next);
|
||||
} else {
|
||||
return next(new Error("Authentication Failed"));
|
||||
|
|
Loading…
Reference in a new issue