11 lines
163 B
JavaScript
11 lines
163 B
JavaScript
module.exports.handleSignup = (email, password) => {
|
|
|
|
// Check if email already exists
|
|
db.saveUser({
|
|
email,
|
|
password
|
|
});
|
|
// Send welcome email
|
|
|
|
}
|