X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/de935e1f694d55122e39827950ed05f781656b0d..0956f2d427fe43c70fca245bc55ce85423b76ce8:/SL/Auth.pm diff --git a/SL/Auth.pm b/SL/Auth.pm index 930179603..82513b98d 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -1237,6 +1237,8 @@ sub assert { } if (!$dont_abort) { + $::dispatcher->reply_with_json_error(error => 'access') if $::request->type eq 'json'; + delete $::form->{title}; $::form->show_generic_error($::locale->text("You do not have the permissions to access this function.")); }