The bug
When logging in through tinyauth, where I have LLDAP as database, the username is not case sensitive.
Other apps I used do not have a problem with this. But AirTrail sees it as new user.
Which creates a new user with username and display name being the login with none of my data
Operating System that is running AirTrail
Ubuntu docker
AirTrail Version
3.8.0
Your docker-compose.yml content
services:
db:
container_name: airtrail_db
image: postgres:16-alpine
restart: always
env_file:
- .env
environment:
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- ./db_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U ${DB_USERNAME} -d ${DB_DATABASE_NAME}']
interval: 5s
timeout: 5s
retries: 5
airtrail:
container_name: airtrail
image: johly/airtrail:latest
restart: always
env_file:
- .env
ports:
- 3000:3000
volumes:
# Required for file uploads (e.g., airline icons)
# The path to the right of the colon needs to match UPLOAD_LOCATION in your .env file
# It needs to be writable for UID:GID 1000:1000
- ./uploads:/app/uploads
# If docker isn't running as UID 1000 on your host, consider using a bind mount volume instead, such as:
# - ./data/uploads:/app/uploads
# and create the folder ./data/uploads with UID:GID 1000:1000
depends_on:
db:
condition: service_healthy
Your .env content
Reproduction steps
- set up tinyauth instance connected to LLDAP (users: user1)
- login to airtrail via tinyauth as user1 and use the new account
- logout
- login as user1, everything is as it should
- logout
- login as User1 (the same thing in tinyauth)
- Airtrail creates a new user with name and display name User1
...
Relevant log output
Additional information

The bug
When logging in through tinyauth, where I have LLDAP as database, the username is not case sensitive.
Other apps I used do not have a problem with this. But AirTrail sees it as new user.
Which creates a new user with username and display name being the login with none of my data
Operating System that is running AirTrail
Ubuntu docker
AirTrail Version
3.8.0
Your docker-compose.yml content
Your .env content
Reproduction steps
...
Relevant log output
Additional information