Switch auth to plain-text password env var (remove bcrypt)
- Replace ADMIN_PASSWORD_HASH with ADMIN_PASSWORD in auth route and docker-compose - Remove bcryptjs / @types/bcryptjs dependencies - Delete scripts/hashPassword.ts (no longer needed) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -101,6 +101,8 @@ const modules = {
|
||||
}>
|
||||
) => put<Module>(`/modules/${id}`, data),
|
||||
delete: (id: string) => del<null>(`/modules/${id}`),
|
||||
move: (id: string, rackId: string, uPosition: number) =>
|
||||
post<Module>(`/modules/${id}/move`, { rackId, uPosition }),
|
||||
getPorts: (id: string) => get<Port[]>(`/modules/${id}/ports`),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user