Using # in password
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
- wwonderfull
-
- Posts: 1603
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Using # in password
When registering in signup is there any restriction using # in password for example.... james#1738. The database does not seem accept # inside the password although I am testing it in wamp server any idea?
Re: Using # in password
For security reasons, the login forms only accepts ASCII characters.
If you want more control then you can convert the login form to a standard form and change the validation in the script.
If you want more control then you can convert the login form to a standard form and change the validation in the script.
- wwonderfull
-
- Posts: 1603
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Using # in password
Pablo wrote: Thu Mar 17, 2022 9:07 pm For security reasons, the login forms only accepts ASCII characters.
If you want more control then you can convert the login form to a standard form and change the validation in the script.
Code: Select all
}
else
if (!preg_match("/^[A-Za-z0-9-_!@$]{1,50}$/", $newusername))
{
$error_message = 'Username is not valid, please check and try again!';
}
else
if (!preg_match("/^[A-Za-z0-9-_!@$]{1,50}$/", $newpassword))
{
$error_message = 'Password is not valid, please check and try again!';
}
else
if (!preg_match("/^[A-Za-z0-9-_!@$.' &]{1,50}$/", $newfullname))
{
$error_message = 'Fullname is not valid, please check and try again!';
}
Re: Using # in password
I'm sorry, I cannot help you with custom code.
But you are right tat this regular expressions must be modified.
But you are right tat this regular expressions must be modified.
- wwonderfull
-
- Posts: 1603
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Using # in password
That code up there was generated from the converted signup form. But I did some search and got a website where we can validate our password expressions https://regexr.com/ I hope others find it useful too. I like it 
