mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-18 17:38:20 +02:00
Remove useless code
This commit is contained in:
@@ -95,15 +95,6 @@
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a user
|
||||
*/
|
||||
function deleteUser(userId) {
|
||||
if(confirm(trans('admin.confirm.delete_user'))) {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
|
||||
onBeforeRouteLeave((to) => {
|
||||
if (! to.name.startsWith('admin.')) {
|
||||
notify.clear()
|
||||
|
Reference in New Issue
Block a user