From 00f113a4daeafc6b0d47e8cf50205b53812c78af Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Wed, 26 Nov 2025 11:32:51 +0100 Subject: [PATCH] auth: update user type constants Those need to be kept in sync with the database/GraphQL values. The ones not in sync are not currently used, though. --- auth/middleware.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/middleware.go b/auth/middleware.go index e6afa7bea545800fba53741c3dbff57dc320ba81..98416ac6a3f02e2ab247eadd96d3923cdee62f4a 100644 --- a/auth/middleware.go +++ b/auth/middleware.go @@ -37,8 +37,8 @@ var ( ) const ( - USER_TYPE_PENDING = "UNCONFIRMED" - USER_TYPE_USER = "ACTIVE_NON_PAYING" + USER_TYPE_PENDING = "PENDING" + USER_TYPE_USER = "USER" USER_TYPE_ADMIN = "ADMIN" USER_TYPE_SUSPENDED = "SUSPENDED" )