Mrudhulraj opened a new issue, #6559:
URL: https://github.com/apache/texera/issues/6559
### What happened?
When a user registers a local account via the Sign Up form, the email they
should provide is never actually captured or persisted. Two layers silently
drop it:
1. The Sign Up form has no email input field at all.
2. auth.service.ts sends only `{ username, password `} to **POST
/auth/register**, and the backend's. UserRegistrationRequest case class only
has (username, password) fields — there's no email field to carry it even if
the frontend sent one.
3. AuthResource.register falls back to `user.setEmail(username)`, so every
locally-registered user ends up with email = username in the database.
Affects: Collaboration in projects and sharing capabilities of workflows.
Expectation: While user registers locally for the first-time they should be
able to register their email and persisted in the user table.
### How to reproduce?
1. Go to the Sign Up tab on the local login page.
2. Register a new account with only a username and password (there is no
email field to fill in).
3. Query the user table for the newly created row.
4. Observe that email is set to the username value, not a real email address.
### Version/Branch
1.3.0-incubating-SNAPSHOT (main)
### Commit Hash (Optional)
_No response_
### What browsers are you seeing the problem on?
_No response_
### Relevant log output
```shell
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]