Huge bunch of UI/UX improvements and tweaks!
Some checks failed
Test / vitest (push) Successful in 10m36s
Test / playwright (push) Failing after 9m23s
Test / visual (push) Failing after 9m13s
Test / Notify on failure (push) Successful in 2s

This commit is contained in:
Jennie Robinson Faber 2026-04-06 16:17:12 +01:00
parent 501be10bfe
commit fb25e72215
37 changed files with 1651 additions and 949 deletions

8
server/models/counter.js Normal file
View file

@ -0,0 +1,8 @@
import mongoose from 'mongoose'
const counterSchema = new mongoose.Schema({
_id: String,
seq: { type: Number, default: 0 }
})
export default mongoose.models.Counter || mongoose.model('Counter', counterSchema)

View file

@ -181,6 +181,8 @@ const memberSchema = new mongoose.Schema({
// Session revocation via token versioning
tokenVersion: { type: Number, default: 0 },
memberNumber: { type: Number, unique: true, sparse: true },
createdAt: { type: Date, default: Date.now },
lastLogin: Date,
});