Closed Bug 546753 Opened 14 years ago Closed 14 years ago

Enforce presence of an email address in the system

Categories

(Cloud Services Graveyard :: Server: Sync, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: telliott, Assigned: telliott)

Details

(Whiteboard: [AA-AT-02F])

The Weave Server's registration component contains the following code within mysql.php line 99: function create_user($password, $email = "")
The entire function is written to allow users to be created without a corresponding e-mail address. There are many areas of the application that won't operate correctly without an e-mail address. Therefore, either these areas should be modified to operate in lieu of an e-mail address, or it should be required data in order to call this function.
Now enforcing email.

http://hg.mozilla.org/labs/weaveserver-registration/rev/4af2c123877b

Les, can you review, please? Note that we're not doing any form of email validation, since it's trivial for someone to get around it. If we want email verification in accounts, we'll need to open it as a new feature.
Whiteboard: [AA-AT-02F]
Looks good to me.
Severity: normal → enhancement
Target Milestone: --- → 2.0
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.