Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Getting rid of our unnecessary registration form.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdegges committed Sep 25, 2015
1 parent 2019163 commit 7e05a9d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,6 @@ var forms = require('forms');
var fields = forms.fields;
var validators = forms.validators;

/**
* A user registration form.
*
* @property registrationForm
*/
module.exports.registrationForm = forms.create({
username: fields.string(),
givenName: fields.string(),
middleName: fields.string(),
surname: fields.string(),
email: fields.email({ required: validators.required('Email is required.') }),
password: fields.password({ required: validators.required('Password is required.') }),
confirmPassword: fields.password({
validators: [validators.matchField('password', 'Password and Confirm Password must match.')]
})
});

/**
* A user login form.
*
Expand Down

0 comments on commit 7e05a9d

Please sign in to comment.