refactor(login): added in a check for lastlogin and force reset password
this also includes passowrd for non alpla users will deal with them later
This commit is contained in:
14
package.json
14
package.json
@@ -12,7 +12,7 @@
|
||||
"dev:db:generate": "tsc && npx drizzle-kit generate --config=drizzle-dev.config.ts",
|
||||
"dev": "concurrently -n \"server,frontend,docs\" -c \"#007755,#2f6da3,#DB4FE0\" \"npm run dev:app\" \"npm run dev:front\" \"npm run dev:docs\"",
|
||||
"copy:docs": "node scripts/lstDocCopy.mjs",
|
||||
"build:app": "rimraf dist && npx tsc && xcopy app\\src\\internal\\system\\controller\\settings\\settings.json dist\\src\\internal\\system\\controller\\settings /E /I /Y",
|
||||
"build:app": "rimraf dist && npx tsc && node scripts/lstAppMoves.mjs",
|
||||
"build:front": "cd frontend && rimraf dist && npm run build",
|
||||
"build:docs": "cd lstDocs && rimraf build && npm run build",
|
||||
"build:wrapper": "cd lstWrapper && rimraf publish && dotnet publish -c Release -o ./publish",
|
||||
@@ -23,7 +23,7 @@
|
||||
"install:app": "npm i",
|
||||
"start:app": "node dist/main.js",
|
||||
"start": "dotenvx run -f .env -- npm run start:app",
|
||||
"start:win": "set NODE_ENV=production && node dist/main.js",
|
||||
"start:win": "set NODE_ENV=production && dotenvx run -f .env -- node dist/main.js",
|
||||
"docker": "docker compose up --build --force-recreate -d",
|
||||
"commit": "cz",
|
||||
"deploy": "standard-version --conventional-commits && npm run translateDocs && npm run build && cd lstV2 && npm run build",
|
||||
@@ -31,7 +31,7 @@
|
||||
"db:generate": "npx drizzle-kit generate",
|
||||
"translateDocs": "cd scripts && node translateScript.js",
|
||||
"auth:generate": "npx @better-auth/cli generate --config ./app/src/pkg/auth/auth.ts",
|
||||
"updates": "ncu -g"
|
||||
"updates": "ncu"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -46,7 +46,7 @@
|
||||
"@tanstack/react-table": "^8.21.3",
|
||||
"@types/cors": "^2.8.19",
|
||||
"axios": "^1.12.2",
|
||||
"better-auth": "^1.3.27",
|
||||
"better-auth": "^1.3.28",
|
||||
"cors": "^2.8.5",
|
||||
"date-fns": "^4.1.0",
|
||||
"date-fns-tz": "^3.2.0",
|
||||
@@ -59,9 +59,9 @@
|
||||
"mssql": "^12.0.0",
|
||||
"nodemailer": "^7.0.9",
|
||||
"nodemailer-express-handlebars": "^7.0.0",
|
||||
"npm-check-updates": "^19.0.0",
|
||||
"npm-check-updates": "^19.1.1",
|
||||
"pg": "^8.16.3",
|
||||
"pino": "^10.0.0",
|
||||
"pino": "^10.1.0",
|
||||
"pino-pretty": "^13.1.2",
|
||||
"postgres": "^3.4.7",
|
||||
"socket.io": "^4.8.1",
|
||||
@@ -72,7 +72,7 @@
|
||||
"@types/express": "^5.0.3",
|
||||
"@types/morgan": "^1.9.10",
|
||||
"@types/mssql": "^9.1.8",
|
||||
"@types/node": "^24.7.1",
|
||||
"@types/node": "^24.9.1",
|
||||
"@types/nodemailer": "^7.0.2",
|
||||
"@types/nodemailer-express-handlebars": "^4.0.5",
|
||||
"@types/pg": "^8.15.5",
|
||||
|
||||
Reference in New Issue
Block a user