qb-multicharacter icon indicating copy to clipboard operation
qb-multicharacter copied to clipboard

Why is /logout hard-coded to "admin"?

Open Jamesking56 opened this issue 7 months ago • 3 comments

Why is /logout hard-coded to only allow admins to run? Is it something normal users shouldn't have access to?

I suggest changing this to its own unique ace permission instead so it can be customised who has access.

https://github.com/qbcore-framework/qb-multicharacter/blob/4ac9714dace30988fd33c792412c513b30cd758e/server/main.lua#L61-L65

Jamesking56 avatar Jul 19 '24 23:07 Jamesking56