Cannot completely delete users
opened this issue · comments
Deleted user commented
I have problem here, when I delete the users of wi-fi from admin page it's not completely delete from radacct table, so when I add one same username that was out of quota. Then the quota of the user like data and time still saving the old record. Can you fix this?
Deleted user commented
I patching your code, with adding a mysql syntax
here my commit if you want to know
https://github.com/kafabih4raka/grase-www-portal/commit/458477dc9de184880f247831614e4725159b2db2
José Borges commented
You should not delete vouchers with radactt lines from the database without compacting them, your way will make you loose hotspot stat, while compacting before deleting will keep them.
just my two cents.