Skip to content
Draft
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
355f21b
Passwords also refuse a distinctive word of an institute's name, not …
omerFixesBugs Nov 16, 2026
7016eff
Sprint 1 P1-J plan (docs/plans/sprint-1-p1j-password-hash.md): the ap…
omerFixesBugs Nov 16, 2026
25da8a3
Sprint 1 P2 plan (docs/plans/sprint-1-p2-files.md): institute profile…
omerFixesBugs Nov 16, 2026
995e61e
Test users get phone numbers no other test user of the same database …
omerFixesBugs Nov 16, 2026
356c448
The app login can no longer read users.password_hash (P1-J): SELECT o…
omerFixesBugs Nov 16, 2026
3ca69eb
Every Prisma client leaves users.password_hash out of its reads (P1-J…
omerFixesBugs Nov 16, 2026
30e85f6
Files and the institute profile in the database (P2 task 1): stored_f…
omerFixesBugs Nov 16, 2026
687a83b
CORS_ORIGINS is normalised in env.ts as browsers send Origin (lower-c…
omerFixesBugs Nov 16, 2026
ff8981c
Shared file caps, types and the institute profile schema (P2 task 2):…
omerFixesBugs Nov 16, 2026
917d5eb
The start-up login check also refuses a login with REPLICATION (a rep…
omerFixesBugs Nov 16, 2026
bc6644b
Password login without the hash (P1-J): the API hashes the typed pass…
omerFixesBugs Nov 16, 2026
b0e6315
GET /me/password reads hasPassword from auth_my_password_is_set() (P1…
omerFixesBugs Nov 16, 2026
47fb357
Docs for P1-J: database.md (password_hash not readable by the app, a …
omerFixesBugs Nov 16, 2026
20b29e9
Redis is pinned to one exact version, redis:7.4.11-alpine (the versio…
omerFixesBugs Nov 16, 2026
81bfc26
Docs for the follow-ups: decisions-pending gets the section "Small fo…
omerFixesBugs Nov 16, 2026
9cc9d54
Image processing for uploads (P2 task 3): sharp 0.35.5 (already in th…
omerFixesBugs Nov 16, 2026
b0e010b
FileStore and the per-institute cap (P2 task 4): PostgresFileStore is…
omerFixesBugs Nov 16, 2026
caec9f7
Photo and profile routes (P2 task 5): GET/PUT/DELETE /students/:id/ph…
omerFixesBugs Nov 16, 2026
57cf79f
Web (P2 task 6): Settings → Institute profile (names, EIIN, contact, …
omerFixesBugs Nov 16, 2026
4e4cbb2
Docs for P2 (task 7): docs/files.md, database.md (the three tables an…
omerFixesBugs Nov 16, 2026
724ffb0
The photo dialog's preview URL is made when a file is chosen, not in …
omerFixesBugs Nov 16, 2026
110857d
files.spec: the profile fields by id ("নাম (বাংলা)" is also part of t…
omerFixesBugs Nov 16, 2026
8c3a4f9
After the review (P1-J7): a dedicated login for the password login. j…
omerFixesBugs Nov 16, 2026
72b714b
The password login looks the hash up on its own database login (Login…
omerFixesBugs Nov 16, 2026
06f3236
Docs after the P1-J review: what an injection in an ordinary request …
omerFixesBugs Nov 16, 2026
82f6600
Test phones never wrap and their lock survives races (review of PR #1…
omerFixesBugs Nov 16, 2026
27403c3
The institute-name rule compares passwords and names like the phone r…
omerFixesBugs Nov 16, 2026
7aa31c5
An origin setting with a login, a path, a query or a fragment is no o…
omerFixesBugs Nov 16, 2026
fd6430e
Docs after the review of PR #17: P1-I's title line says it is built h…
omerFixesBugs Nov 16, 2026
9dbee45
P1-J migration after the second review: it first checks that jantrik_…
omerFixesBugs Nov 16, 2026
a980a60
The password login's database login must reach the same database, por…
omerFixesBugs Nov 16, 2026
ff673b8
Docs after the second P1-J review: the server upgrade creates the rol…
omerFixesBugs Nov 16, 2026
13deed2
A file reference is tied to its kind (review R6): UNIQUE (tenant_id, …
omerFixesBugs Nov 16, 2026
cb86722
Uploads hold no database connection while they arrive (review R1): th…
omerFixesBugs Nov 16, 2026
459bcf7
Web after the review: a chosen image is shrunk in the browser to 1600…
omerFixesBugs Nov 16, 2026
944e840
Docs after the review: auth.md (the request pipeline and @OwnTransact…
omerFixesBugs Nov 16, 2026
282c8b6
Review round 2, API: uploads in flight bounded before multer (16 per …
omerFixesBugs Nov 16, 2026
cfd4506
Review round 2, web: the browser asks for the EXIF orientation explic…
omerFixesBugs Nov 16, 2026
73eb83b
Docs for review round 2: auth.md (the upload routes' re-checks, Uploa…
omerFixesBugs Nov 16, 2026
e622e52
The interceptor opens its transaction through an unchecked entry (aro…
omerFixesBugs Nov 16, 2026
3d2c5d5
Review round 3: no upload slot leaks when the client left before Uplo…
omerFixesBugs Nov 16, 2026
de19108
The two new origin tests' development settings also name DATABASE_LOG…
omerFixesBugs Nov 16, 2026
aa0105b
Merge P1-J (#16) into the small follow-ups (#17): the ready resolutio…
omerFixesBugs Nov 16, 2026
b1efceb
Merge remote-tracking branch 'origin/feature/sprint-1-p1j-password-ha…
omerFixesBugs Nov 16, 2026
b5d3697
Merge remote-tracking branch 'origin/feature/sprint-1-p2-files' into …
omerFixesBugs Nov 16, 2026
c857102
Merge remote-tracking branch 'origin/feature/small-followups-after-p1…
omerFixesBugs Nov 16, 2026
9309fa8
Work in progress: a staff guide draft and draft legal texts (terms of…
omerFixesBugs Nov 19, 2026
ed5d56c
Docs only: a plain staff guide draft (signing in, setup, students, gu…
omerFixesBugs Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ POSTGRES_PORT=5432
# that may run the platform_* functions
# jantrik_ingest_app: the device (ZKTeco) receiver only; the only role that may run the
# ingest_* functions
# jantrik_login_app: the password login only; the only role that may look up a password
# hash (auth_find_user_for_password_login)
DB_OWNER_PASSWORD=owner_dev_password
DB_APP_PASSWORD=app_dev_password
# Password of jantrik_platform_app (the API platform module's role), set by the init script.
DB_PLATFORM_PASSWORD=platform_dev_password
# Password of jantrik_ingest_app (the device receiver's role), set by the init script.
DB_INGEST_PASSWORD=ingest_dev_password
# Password of jantrik_login_app (the password login's role), set by the init script.
DB_LOGIN_PASSWORD=login_dev_password

# Runtime connection (API, seed of tenant data): the RLS-restricted app role.
DATABASE_URL=postgresql://jantrik_app:app_dev_password@localhost:5432/jantrik
Expand All @@ -30,6 +34,9 @@ DATABASE_PLATFORM_URL=postgresql://jantrik_platform_app:platform_dev_password@lo
# The device receiver (ZKTeco attendance machines): its own login, same database. Tests use this
# user and password on the test / e2e database.
DATABASE_INGEST_URL=postgresql://jantrik_ingest_app:ingest_dev_password@localhost:5432/jantrik
# The password login (POST /auth/login with a password): its own login, same database, the only
# one that may read a password hash. Tests use this user and password on the test / e2e database.
DATABASE_LOGIN_URL=postgresql://jantrik_login_app:login_dev_password@localhost:5432/jantrik

# Integration tests (packages/db) use a separate database.
DATABASE_URL_TEST=postgresql://jantrik_app:app_dev_password@localhost:5432/jantrik_test
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ env:
DB_APP_PASSWORD: app_ci_password
DB_PLATFORM_PASSWORD: platform_ci_password
DB_INGEST_PASSWORD: ingest_ci_password
DB_LOGIN_PASSWORD: login_ci_password
# Same roles as local dev; tests run against jantrik_test.
DATABASE_URL: postgresql://jantrik_app:app_ci_password@localhost:5432/jantrik_test
# The API platform module's own role (tests point it at their database themselves).
DATABASE_PLATFORM_URL: postgresql://jantrik_platform_app:platform_ci_password@localhost:5432/jantrik_test
# The device receiver's own role (tests point it at their database themselves).
DATABASE_INGEST_URL: postgresql://jantrik_ingest_app:ingest_ci_password@localhost:5432/jantrik_test
# The password login's own role (tests point it at their database themselves).
DATABASE_LOGIN_URL: postgresql://jantrik_login_app:login_ci_password@localhost:5432/jantrik_test
DATABASE_MIGRATION_URL: postgresql://jantrik_owner:owner_ci_password@localhost:5432/jantrik_test
DATABASE_URL_TEST: postgresql://jantrik_app:app_ci_password@localhost:5432/jantrik_test
DATABASE_MIGRATION_URL_TEST: postgresql://jantrik_owner:owner_ci_password@localhost:5432/jantrik_test
Expand Down Expand Up @@ -261,22 +264,25 @@ jobs:
APP=$(openssl rand -hex 24)
PLATFORM=$(openssl rand -hex 24)
INGEST=$(openssl rand -hex 24)
for pw in "$OWNER" "$APP" "$PLATFORM" "$INGEST"; do echo "::add-mask::$pw"; done
LOGIN=$(openssl rand -hex 24)
for pw in "$OWNER" "$APP" "$PLATFORM" "$INGEST" "$LOGIN"; do echo "::add-mask::$pw"; done
url() { echo "postgresql://$1:$2@localhost:5432/jantrik"; }
{
echo "DB_OWNER_PASSWORD=$OWNER"
echo "DB_APP_PASSWORD=$APP"
echo "DB_PLATFORM_PASSWORD=$PLATFORM"
echo "DB_INGEST_PASSWORD=$INGEST"
echo "DB_LOGIN_PASSWORD=$LOGIN"
echo "DATABASE_MIGRATION_URL=$(url jantrik_owner "$OWNER")"
echo "DATABASE_URL=$(url jantrik_app "$APP")"
echo "DATABASE_PLATFORM_URL=$(url jantrik_platform_app "$PLATFORM")"
echo "DATABASE_INGEST_URL=$(url jantrik_ingest_app "$INGEST")"
echo "DATABASE_LOGIN_URL=$(url jantrik_login_app "$LOGIN")"
} >> "$GITHUB_ENV"

- name: Check the passwords are this run's
run: |
for v in "$DB_OWNER_PASSWORD" "$DB_APP_PASSWORD" "$DB_PLATFORM_PASSWORD" "$DB_INGEST_PASSWORD"; do
for v in "$DB_OWNER_PASSWORD" "$DB_APP_PASSWORD" "$DB_PLATFORM_PASSWORD" "$DB_INGEST_PASSWORD" "$DB_LOGIN_PASSWORD"; do
[ "${#v}" -eq 48 ] || { echo "a DB_*_PASSWORD is not this run's"; exit 1; }
done
case "$DATABASE_URL" in
Expand Down Expand Up @@ -325,6 +331,11 @@ jobs:
- name: Create the roles and the production database (create-roles.sh)
run: sh deploy/postgres/create-roles.sh

# An upgrade runs it again on a live cluster to add new roles (docs/deploy.md → Upgrades):
# a second run must succeed and change nothing that exists.
- name: create-roles.sh again (safe to re-run)
run: sh deploy/postgres/create-roles.sh

# Version comes from "packageManager" in package.json.
- uses: pnpm/action-setup@v6

Expand Down
2 changes: 2 additions & 0 deletions apps/api/src/auth/auth.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { JwtModule } from '@nestjs/jwt';
import type { Env } from '../config/env.js';
import { AuthController } from './auth.controller.js';
import { AuthService } from './auth.service.js';
import { LoginPrismaService } from './login-prisma.service.js';
import { OtpService } from './otp.service.js';
import { PasswordController } from './password.controller.js';
import { PasswordSettingsService } from './password-settings.service.js';
Expand All @@ -23,6 +24,7 @@ import { TokenService } from './token.service.js';
controllers: [AuthController, PasswordController],
providers: [
AuthService,
LoginPrismaService,
OtpService,
PasswordService,
PasswordSettingsService,
Expand Down
12 changes: 8 additions & 4 deletions apps/api/src/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ import { RateLimiter } from '../redis/rate-limiter.service.js';
import { Db } from '../tenancy/db.service.js';
import { TenantAccessService } from '../tenancy/tenant-access.service.js';
import {
findUserForLogin,
findUserForPasswordLogin,
listMemberships,
listMembershipsFor,
type LoginUser,
} from './login-lookup.js';
import { LoginPrismaService } from './login-prisma.service.js';
import { OtpService } from './otp.service.js';
import { PasswordService } from './password.service.js';
import { newRefreshToken, SessionService, type SessionMeta } from './session.service.js';
Expand All @@ -34,6 +35,7 @@ type ResponseUser = AuthResponse['user'];
export class AuthService {
constructor(
private readonly prisma: PrismaService,
private readonly login: LoginPrismaService,
private readonly db: Db,
private readonly otp: OtpService,
private readonly passwords: PasswordService,
Expand Down Expand Up @@ -79,10 +81,12 @@ export class AuthService {
},
);

const user = await findUserForLogin(this.prisma.client, { phone, email });
// On the password login's own database login (P1-J): no ordinary request can read a hash.
const found = await findUserForPasswordLogin(this.login.client, { phone, email });
// Always verify (against a dummy hash if needed) so timing doesn't reveal unknown accounts.
const ok = await this.passwords.verify(user?.password_hash, password);
if (!user || !ok) throw invalidCredentials();
const ok = await this.passwords.verify(found?.password_hash, password);
if (!found || !ok) throw invalidCredentials();
const user: LoginUser = { id: found.id, name: found.name, locale: found.locale };
// Passwords are for staff (sprint 1 P1): an active staff membership in an open institute.
// Anyone else gets the same answer as a wrong password, and it counts as a failed attempt.
const memberships = await listMembershipsFor(this.prisma.client, user.id);
Expand Down
65 changes: 65 additions & 0 deletions apps/api/src/auth/login-isolation.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
import { readdirSync, readFileSync } from 'node:fs';
import path from 'node:path';

// P1-J: the password login's own database login (LoginPrismaService, jantrik_login_app) is the
// only way to a password hash. It stays with the password login in code as well as in the
// database: only AuthService holds it, and only the login lookup names the function.
const SRC = path.resolve(import.meta.dirname, '..');

function sources(dir: string): string[] {
return readdirSync(dir, { withFileTypes: true }).flatMap((e) => {
const full = path.join(dir, e.name);
if (e.isDirectory()) return sources(full);
return e.name.endsWith('.ts') && !e.name.endsWith('.spec.ts') ? [full] : [];
});
}

const files = sources(SRC).map((full) => ({
rel: path.relative(SRC, full).split(path.sep).join('/'),
code: readFileSync(full, 'utf8'),
}));

const usesLoginClient = (code: string) => /login-prisma\.service/.test(code);
const namesLookup = (code: string) => /\bauth_find_user_for_password_login\b/.test(code);
const namesLoginUrl = (code: string) => /\bDATABASE_LOGIN_URL\b/.test(code);
const usesLookup = (code: string) => /\bfindUserForPasswordLogin\b/.test(code);
const where = (test: (code: string) => boolean) =>
files.filter((f) => test(f.code)).map((f) => f.rel);

describe('the password login’s database login stays with the password login', () => {
it('only the env checks and LoginPrismaService read DATABASE_LOGIN_URL (no second client)', () => {
expect(where(namesLoginUrl)).toEqual([
'auth/login-prisma.service.ts',
'config/env.ts',
'config/production-env.ts',
]);
});

it('only AuthService calls the hash lookup', () => {
expect(where(usesLookup)).toEqual(['auth/auth.service.ts', 'auth/login-lookup.ts']);
});

it('only AuthService (and its module) use LoginPrismaService', () => {
expect(files.filter((f) => usesLoginClient(f.code)).map((f) => f.rel)).toEqual([
'auth/auth.module.ts',
'auth/auth.service.ts',
]);
});

it('only the login lookup and the start-up check name the password lookup', () => {
expect(files.filter((f) => namesLookup(f.code)).map((f) => f.rel)).toEqual([
'auth/login-lookup.ts',
'auth/login-prisma.service.ts',
]);
});

it('the scan finds what it looks for', () => {
expect(usesLoginClient("import { LoginPrismaService } from './login-prisma.service.js';")).toBe(
true,
);
expect(namesLookup('SELECT * FROM auth_find_user_for_password_login($1, $2)')).toBe(true);
expect(namesLookup('SELECT * FROM auth_find_user_for_login($1, $2)')).toBe(false);
expect(namesLoginUrl("createPrismaClient(config.get('DATABASE_LOGIN_URL'))")).toBe(true);
expect(usesLookup('await findUserForPasswordLogin(client, { phone })')).toBe(true);
});
});
23 changes: 20 additions & 3 deletions apps/api/src/auth/login-lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,37 @@ export interface LoginUser {
id: string;
name: string;
locale: 'bn' | 'en';
password_hash: string | null;
}

/** Login lookup through the SECURITY DEFINER function (users RLS hides everyone otherwise). */
/**
* Login lookup through the SECURITY DEFINER function (users RLS hides everyone otherwise), on the
* app login. It returns who the person is, never password data (P1-J).
*/
export async function findUserForLogin(
prisma: PrismaClient,
by: { phone?: string | null; email?: string | null },
): Promise<LoginUser | undefined> {
const rows = await prisma.$queryRaw<LoginUser[]>`
SELECT id::text, name, locale::text AS locale, password_hash
SELECT id::text, name, locale::text AS locale
FROM auth_find_user_for_login(${by.phone ?? null}, ${by.email ?? null})`;
return rows[0];
}

/**
* The password login's lookup, with the stored hash (null: no password). `login` must be the
* password login's own database login (LoginPrismaService, jantrik_login_app): it is the only
* one that may run this function, so no ordinary request can reach a hash (P1-J).
*/
export async function findUserForPasswordLogin(
login: PrismaClient,
by: { phone?: string | null; email?: string | null },
): Promise<(LoginUser & { password_hash: string | null }) | undefined> {
const rows = await login.$queryRaw<(LoginUser & { password_hash: string | null })[]>`
SELECT id::text, name, locale::text AS locale, password_hash
FROM auth_find_user_for_password_login(${by.phone ?? null}, ${by.email ?? null})`;
return rows[0];
}

interface MembershipRow {
tenant_id: string;
tenant_slug: string;
Expand Down
141 changes: 141 additions & 0 deletions apps/api/src/auth/login-prisma.service.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
import type { LoginPrivileges } from '@jantrik/db';
import { LoginPrismaService } from './login-prisma.service.js';

// The password login's own database login (P1-J), checked at start-up like the platform one.

const SAFE: LoginPrivileges = {
login: 'jantrik_login_app',
superuser: false,
bypassRls: false,
replication: false,
createRole: false,
canBecome: [],
};

/** The privilege query's row (readLoginPrivileges reads pg_roles). */
const privilegeRow = (p: LoginPrivileges) => ({
login: p.login,
superuser: p.superuser,
bypass_rls: p.bypassRls,
replication: p.replication,
create_role: p.createRole,
can_become: p.canBecome,
});

/** Where a client is connected: its database, port and server start (one cluster, one start). */
interface Where {
db: string;
port: number | null;
started: string;
}
const HERE: Where = { db: 'jantrik', port: 5432, started: '2026-11-16T06:00:00.000Z' };

/**
* A client whose privilege query answers `privileges` in turn (a row or a failure; the last one
* repeats), whose role check (may it run the password lookup?) answers `ok` (or fails), and that
* says it is connected to `where`.
*/
const client = (
ok: boolean | Error,
privileges: (LoginPrivileges | Error)[] = [SAFE],
where: Where = HERE,
) => {
let i = 0;
return {
$queryRaw: vi.fn((strings: TemplateStringsArray) => {
const sql = strings.join('');
if (sql.includes('pg_roles')) {
const p = privileges[Math.min(i++, privileges.length - 1)]!;
return p instanceof Error ? Promise.reject(p) : Promise.resolve([privilegeRow(p)]);
}
if (sql.includes('current_database')) {
return Promise.resolve([{ ...where, started: new Date(where.started) }]);
}
return ok instanceof Error ? Promise.reject(ok) : Promise.resolve([{ ok }]);
}),
};
};

const unreachable = () =>
Object.assign(new Error("Raw query failed. Message: Can't reach database server"), {
name: 'PrismaClientKnownRequestError',
code: 'P2010',
meta: { driverAdapterError: { cause: { kind: 'DatabaseNotReachable', port: 5432 } } },
});

function service(
loginCanRun: boolean | Error,
mainCanRun: boolean | Error,
privileges: (LoginPrivileges | Error)[] = [SAFE],
loginWhere: Where = HERE,
) {
const warn = vi.fn();
const s = Object.create(LoginPrismaService.prototype) as LoginPrismaService;
Object.assign(s, {
client: client(loginCanRun, privileges, loginWhere),
main: { client: client(mainCanRun) },
logger: { warn, log: vi.fn() },
retryDelaysMs: [0, 0, 0],
checkTimeoutMs: 50,
});
return { s, warn };
}

describe('LoginPrismaService startup check', () => {
it('starts when only the login login may run the password lookup', async () => {
await expect(service(true, false).s.onModuleInit()).resolves.toBeUndefined();
});

it.each([
['DATABASE_URL uses the login login', true, true],
['DATABASE_LOGIN_URL uses the app login', false, false],
['the two are swapped', false, true],
])('refuses to start when %s', async (_case, login, main) => {
await expect(service(login, main).s.onModuleInit()).rejects.toThrow(/mixed up/);
});

it.each([
['another database', { ...HERE, db: 'jantrik_test' }],
['another port', { ...HERE, port: 5433 }],
['another server (started at another time)', { ...HERE, started: '2026-11-15T00:00:00.000Z' }],
])('refuses to start when DATABASE_LOGIN_URL points at %s', async (_case, where) => {
await expect(service(true, false, [SAFE], where).s.onModuleInit()).rejects.toThrow(
/DATABASE_LOGIN_URL and DATABASE_URL must reach the same database/,
);
});

it('only warns when the role check itself fails after the privilege check passed', async () => {
const { s, warn } = service(new Error('connect ECONNREFUSED'), false);
await expect(s.onModuleInit()).resolves.toBeUndefined();
expect(warn).toHaveBeenCalledWith(expect.stringContaining('ECONNREFUSED'));
});
});

describe('LoginPrismaService login privileges (fail closed)', () => {
it('refuses a superuser login at once, naming DATABASE_LOGIN_URL and the login', async () => {
const { s } = service(true, false, [{ ...SAFE, login: 'postgres', superuser: true }]);
await expect(s.onModuleInit()).rejects.toThrow(/DATABASE_LOGIN_URL.*postgres is a superuser/);
});

it('refuses a login with BYPASSRLS', async () => {
const { s } = service(true, false, [{ ...SAFE, bypassRls: true }]);
await expect(s.onModuleInit()).rejects.toThrow(/DATABASE_LOGIN_URL.*has BYPASSRLS/);
});

it('refuses a login that can become a superuser role', async () => {
const { s } = service(true, false, [{ ...SAFE, canBecome: ['postgres'] }]);
await expect(s.onModuleInit()).rejects.toThrow(/can become postgres/);
});

it('waits while the database is unreachable, then checks as usual', async () => {
const { s } = service(true, false, [unreachable(), unreachable(), SAFE]);
await expect(s.onModuleInit()).resolves.toBeUndefined();
});

it('refuses to start unchecked when the database never answers', async () => {
const { s } = service(true, false, [unreachable()]);
await expect(s.onModuleInit()).rejects.toThrow(
/DATABASE_LOGIN_URL\).*DatabaseNotReachable\. The password login does not start unchecked/,
);
});
});
Loading