summaryrefslogtreecommitdiff
path: root/src/user.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-04-27 18:06:59 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-04-27 18:06:59 +0200
commita3e26005fe00abe8836ba5dcdd1b9887ae6b1c27 (patch)
tree8f6f89ef2212b49d8e03177094bd10ed2ef56e0d /src/user.cpp
parentfa132310bf61c115907e5c237333207f308b1de4 (diff)
downloadaCms-a3e26005fe00abe8836ba5dcdd1b9887ae6b1c27.tar.gz
aCms-a3e26005fe00abe8836ba5dcdd1b9887ae6b1c27.tar.bz2
on the way of email sending
Diffstat (limited to 'src/user.cpp')
-rw-r--r--src/user.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user.cpp b/src/user.cpp
index dddde30..5b53416 100644
--- a/src/user.cpp
+++ b/src/user.cpp
@@ -202,6 +202,8 @@ register_user_form::register_user_form( apps::strusCms &cms )
password.error_message( "Your password is illegal" );
password2.message( "Your password (again)" );
password2.error_message( "Your password doesn't match" );
+ email.message( "Email" );
+ email.error_message( "Your email address is not valid" );
captcha.message( "Enter the correct captcha" );
captcha.error_message( "Captcha didn't match" );
submit.value( "Register user" );
@@ -209,12 +211,14 @@ register_user_form::register_user_form( apps::strusCms &cms )
add( username );
add( password );
add( password2 );
+ add( email );
add( captcha );
add( submit );
username.non_empty( );
password.non_empty( );
password2.non_empty( );
+ email.non_empty( );
captcha.non_empty( );
}