From 0be7bb847f64367fbc64fbdea2d11684fbcdaa8f Mon Sep 17 00:00:00 2001
From: Joel Klinghed <the_jk@spawned.biz>
Date: Sat, 4 Jan 2025 02:31:25 +0100
Subject: Support ldap in auth

Non-test auth is now using ldap for account syncing and authentication.
Test auth is still using hardcoded users (user and other). But it is
now also possible to login as "other".
---
 server/migrations/1_initial_eyeballs.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'server/migrations/1_initial_eyeballs.sql')

diff --git a/server/migrations/1_initial_eyeballs.sql b/server/migrations/1_initial_eyeballs.sql
index aeb1470..2e5f771 100644
--- a/server/migrations/1_initial_eyeballs.sql
+++ b/server/migrations/1_initial_eyeballs.sql
@@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS users (
        id BIGINT UNSIGNED PRIMARY KEY AUTO_INCREMENT,
        username VARCHAR(256) NOT NULL UNIQUE,
        name VARCHAR(1024) NOT NULL DEFAULT '',
-       active BOOLEAN NOT NULL DEFAULT 1
+       dn VARCHAR(256) NULL
 );
 
 CREATE TABLE IF NOT EXISTS project_users (
-- 
cgit v1.2.3-70-g09d2

