summaryrefslogtreecommitdiffstats
path: root/src/web/websession.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/websession.vala')
-rw-r--r--src/web/websession.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/websession.vala b/src/web/websession.vala
index 1b2e223..ae3cafc 100644
--- a/src/web/websession.vala
+++ b/src/web/websession.vala
@@ -84,7 +84,7 @@ public class WebSession {
private void setup_auth(int user) throws DatabaseError, IOError {
var auth = db.get_user_auth(user);
- this.disabled = auth.disabled;
+ this.disabled = db.user_is_disabled(user);
this.superuser = auth.superuser;
this.auth_cashbox = auth.auth_cashbox;
this.auth_products = auth.auth_products;