added successful verification message to login page

This commit is contained in:
David Baldwynn 2016-10-07 09:01:37 -07:00
parent 2455f5dd9a
commit 8309b27e3e
3 changed files with 5 additions and 1 deletions

View file

@ -101,6 +101,7 @@ exports.resendVerificationEmail = function(req, res, next){
* Signup
*/
exports.signup = function(req, res) {
debugger;
// For security measures we remove the roles from the req.body object
delete req.body.roles;

2
config/env/all.js vendored
View file

@ -14,7 +14,7 @@ module.exports = {
reCAPTCHA_Key: process.env.reCAPTCHA_KEY || '',
signupDisabled: !!process.env.SIGNUP_DISABLED,
signupDisabled: (process.env.SIGNUP_DISABLED === "TRUE"),
baseUrl: '',
tempUserCollection: 'temporary_users',

View file

@ -5,6 +5,9 @@
<div class="col-md-12 text-center" style="padding-bottom: 50px;">
<img src="/static/modules/core/img/logo_white.svg" height="100px">
</div>
<h3 class="col-md-12">
{{ 'VERIFY_SUCCESS' | translate }}
</h3>
<div class="col-md-12">
<a href="/#!/signin" class="btn btn-signup btn-rounded btn-block">{{ 'CONTINUE_TO_LOGIN' | translate }}</a>
</div>