Implement member management enhancements; add bulk import functionality and duplicate checking based on geburtsdatum. Update API to support new fields and improve error handling for member data submissions. Refactor member-related components for better user experience and data validation.
This commit is contained in:
@@ -59,9 +59,10 @@ export default defineEventHandler(async (event) => {
|
||||
maxAge: 60 * 60 * 24 * 7 // 7 days
|
||||
})
|
||||
|
||||
// Return user data (without password)
|
||||
// Return user data (without password) and token for API usage
|
||||
return {
|
||||
success: true,
|
||||
token: token, // Token auch im Body für externe API-Clients
|
||||
user: {
|
||||
id: user.id,
|
||||
email: user.email,
|
||||
|
||||
Reference in New Issue
Block a user