~bigbes/core-go

00f113a4daeafc6b0d47e8cf50205b53812c78af — Conrad Hoffmann 8 months ago c5355d1
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.
1 files changed, 2 insertions(+), 2 deletions(-)

M auth/middleware.go
M auth/middleware.go => auth/middleware.go +2 -2
@@ 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"
)