Removed unusued code and images
This commit is contained in:
@ -154,25 +154,6 @@ exports.postSignup = function(req, res) {
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* POST /signup/available
|
||||
* Checks if current username is available
|
||||
*/
|
||||
exports.postAvailability = function(req, res) {
|
||||
User.findOne({ username: req.body.username }, function(err, user) {
|
||||
if (user) {
|
||||
// unavailable
|
||||
// has-error
|
||||
return;
|
||||
} else {
|
||||
// username is available
|
||||
// has-success
|
||||
return;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* GET /account/unlink/:provider
|
||||
*/
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 735 KiB |
Binary file not shown.
Before Width: | Height: | Size: 716 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
@ -12,7 +12,6 @@ block content
|
||||
label.col-sm-3.control-label(for='username') Email
|
||||
.col-sm-7
|
||||
input.form-control(type='email', name='username', id='username', placeholder='Email', autofocus='')
|
||||
span.input-icon.fui-check-inverted
|
||||
.form-group
|
||||
label.col-sm-3.control-label(for='username') Password
|
||||
.col-sm-7
|
||||
|
Reference in New Issue
Block a user