diff options
author | Holger Cremer <HolgerCremer@gmail.com> | 2020-01-04 22:00:40 +0100 |
---|---|---|
committer | Holger Cremer <HolgerCremer@gmail.com> | 2020-01-04 22:00:40 +0100 |
commit | 1b9216903a2512dd7cbbb678f9e3f3d82f667d74 (patch) | |
tree | 21cc2ddbec42b011890769d59820a9047c16fb3c /src | |
parent | 5094fc329619895583227de6b9f8bb0242503d07 (diff) | |
download | serial-barcode-scanner-1b9216903a2512dd7cbbb678f9e3f3d82f667d74.tar.bz2 |
needs only cashbox permissino to access cashbox details
Diffstat (limited to 'src')
-rw-r--r-- | src/web/web.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/web.vala b/src/web/web.vala index a4c24ca..0ed852d 100644 --- a/src/web/web.vala +++ b/src/web/web.vala @@ -1567,7 +1567,7 @@ public class WebServer { try { var session = new WebSession(server, msg, path, query, client); - if(!session.superuser) { + if(!session.superuser && !session.auth_cashbox) { handler_403(server, msg, path, query, client); return; } |