added successful verification message to login page
This commit is contained in:
parent
2455f5dd9a
commit
8309b27e3e
|
@ -101,6 +101,7 @@ exports.resendVerificationEmail = function(req, res, next){
|
||||||
* Signup
|
* Signup
|
||||||
*/
|
*/
|
||||||
exports.signup = function(req, res) {
|
exports.signup = function(req, res) {
|
||||||
|
debugger;
|
||||||
|
|
||||||
// For security measures we remove the roles from the req.body object
|
// For security measures we remove the roles from the req.body object
|
||||||
delete req.body.roles;
|
delete req.body.roles;
|
||||||
|
|
2
config/env/all.js
vendored
2
config/env/all.js
vendored
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
|
|
||||||
reCAPTCHA_Key: process.env.reCAPTCHA_KEY || '',
|
reCAPTCHA_Key: process.env.reCAPTCHA_KEY || '',
|
||||||
|
|
||||||
signupDisabled: !!process.env.SIGNUP_DISABLED,
|
signupDisabled: (process.env.SIGNUP_DISABLED === "TRUE"),
|
||||||
baseUrl: '',
|
baseUrl: '',
|
||||||
tempUserCollection: 'temporary_users',
|
tempUserCollection: 'temporary_users',
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
<div class="col-md-12 text-center" style="padding-bottom: 50px;">
|
<div class="col-md-12 text-center" style="padding-bottom: 50px;">
|
||||||
<img src="/static/modules/core/img/logo_white.svg" height="100px">
|
<img src="/static/modules/core/img/logo_white.svg" height="100px">
|
||||||
</div>
|
</div>
|
||||||
|
<h3 class="col-md-12">
|
||||||
|
{{ 'VERIFY_SUCCESS' | translate }}
|
||||||
|
</h3>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<a href="/#!/signin" class="btn btn-signup btn-rounded btn-block">{{ 'CONTINUE_TO_LOGIN' | translate }}</a>
|
<a href="/#!/signin" class="btn btn-signup btn-rounded btn-block">{{ 'CONTINUE_TO_LOGIN' | translate }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue