Skip to content

fix: registration should require fullName and reject admin self-assignment#5968

Open
SyntaxHQDEV wants to merge 2 commits into
SecureBananaLabs:mainfrom
SyntaxHQDEV:fullname-registration
Open

fix: registration should require fullName and reject admin self-assignment#5968
SyntaxHQDEV wants to merge 2 commits into
SecureBananaLabs:mainfrom
SyntaxHQDEV:fullname-registration

Conversation

@SyntaxHQDEV

Copy link
Copy Markdown

Bug

Registration schema did not require fullName and allowed admin role self-assignment.

Fix

  • Added fullName as required string field to registerSchema
  • Removed "admin" from allowed registration roles
  • Returns 400 if fullName is missing

Closes #5965

Adds 4 sections to /settings: Account & Profile, Notifications, Security, Payout & Billing.
Uses mock data with status indicators and action buttons matching current frontend style.
…nment

- Added fullName as required field in registerSchema
- Removed 'admin' from allowed registration roles
- Prevents users from registering without fullName or as admin
github-actions Bot added a commit that referenced this pull request Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Registration should require fullName and reject admin self-assignment (reissue)

2 participants