koenbuyens / Vulnerable-OAuth-2.0-Applications

vulnerable OAuth 2.0 applications: understand the security implications of your OAuth 2.0 decisions.
306 stars 71 forks source link

if anybody have problem with database or register a user solution #2

Open RAVIPRAJ opened 4 years ago

RAVIPRAJ commented 4 years ago

when i to registered a user in galley i got follwing error : undefine value name

solution

go in model open user.js and set name:{require:false}

and go in mongodb and remove name field by typing command

db.users.dropIndex("name_1")