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 1 year 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

@Jamesking56 on line 65 just change it from admin to user and /logout will be used for everyone

brandon1808 avatar Jul 20 '24 01:07 brandon1808

Issues is sloved

brandon1808 avatar Jul 28 '24 06:07 brandon1808

This issue has had 60 days of inactivity & will close within 7 days

github-actions[bot] avatar Sep 26 '24 15:09 github-actions[bot]