summaryrefslogtreecommitdiff
path: root/src/utils/stringfilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringfilter.cpp')
-rw-r--r--src/utils/stringfilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringfilter.cpp b/src/utils/stringfilter.cpp
index b48d267f..e3696097 100644
--- a/src/utils/stringfilter.cpp
+++ b/src/utils/stringfilter.cpp
@@ -100,8 +100,8 @@ bool StringFilter::filterContent(const std::string &text) const
bool StringFilter::isEmailValid(const std::string &email) const
{
- unsigned int min = Configuration::getValue("account_minEmailLength", 7);
- unsigned int max = Configuration::getValue("account_maxEmailLength", 128);
+ unsigned min = Configuration::getValue("account_minEmailLength", 7);
+ unsigned max = Configuration::getValue("account_maxEmailLength", 128);
// Testing email validity
if (email.length() < min || email.length() > max)