fix: strengthen password security - increase bcrypt rounds to 14, add notNull constraint to password field, add pull_policy to docker-compose
This commit is contained in:
@@ -11,7 +11,7 @@ export const users = pgTable('user', {
|
||||
email: text('email').unique(),
|
||||
emailVerified: timestamp('emailVerified', { mode: 'date' }),
|
||||
image: text('image'),
|
||||
password: text('password'),
|
||||
password: text('password').notNull(),
|
||||
username: text('username').unique(),
|
||||
dashboardTheme: text('dashboard_theme').default('none'),
|
||||
dashboardColor: text('dashboard_color'),
|
||||
|
||||
Reference in New Issue
Block a user