function account_delete(req) {

  app.preloader.show();

  $.ajax({

    type: "post",

    url: base_url + 'account_delete',

    data: req,

    success: (res) => {

      if (res.status) {

        localStorage.removeItem('f03_user')

        app.preloader.hide();

        showToast('Delete Account Successfully');

        app.views.main.router.navigate('/signup/');

      } else {

        app.preloader.hide();

        app.dialog.alert(res.message, 'Delete Account Error');

      }

    }

  })

}