You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(auth): remove insecure hardcoded admin creation from service
Removes the flawed logic that granted admin privileges to a user signing
up with a specific hardcoded email address. This was a security risk as
the service logic runs in all environments.
All new users created via the public API will now correctly and safely
be assigned only the 'standardUser' role. Privileged users like
administrators must be provisioned out-of-band (e.g., via data
fixtures), which is the correct and secure approach.
0 commit comments