tuxis-ie / nsedit

DNS Editor working with PowerDNS's new API
GNU General Public License v2.0
199 stars 55 forks source link

Deleting a user doesn't work #122

Closed richard-underwood closed 7 years ago

richard-underwood commented 7 years ago

While looking at groups, I noticed that deleting a user doesn't work. The jtable is set to use the username as the key, not the id, but the delete sql is by id.

I'm going to propose a patch which changes the key on the user jtable to be the id field which matches the other jtables and update misc to match before going forward with the groups.

HLFH commented 7 years ago

Related to https://github.com/tuxis-ie/nsedit/pull/123

HLFH commented 7 years ago

It works. Thanks. You can close this issue. @tuxis-ie @richard-underwood