overextended / ox_doorlock

https://overextended.dev/ox_doorlock
GNU General Public License v3.0
157 stars 138 forks source link

Authorization issue #149

Open Axel2222 opened 1 year ago

Axel2222 commented 1 year ago

You can't use the passcode when you have characters or groups set to the door. You always will be rejected because of the "authorised ~= nil" on server/main.lua:228.

I don't know if that's meant to be like that, but I think most people want to be able to use the passcode if they are not in the group or whitelisted by an identifier. Maybe make it a config if someone wants to require both groups/characters and passwords.

image

Tfc538 commented 1 year ago

Opened a PR that fixes this (#164)