forked from lthn/blockchain
removing backslash from allowed password symbols
This commit is contained in:
parent
422c7f2a3a
commit
0dd79e77c4
1 changed files with 1 additions and 1 deletions
|
|
@ -3632,7 +3632,7 @@ namespace currency
|
|||
return true;
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
#define PASSWORD_REGEXP R"([A-Za-z0-9~!?@#$%^&*_+|{}\[\]()<>:;"'\-=\\/.,]{0,40})"
|
||||
#define PASSWORD_REGEXP R"([A-Za-z0-9~!?@#$%^&*_+|{}\[\]()<>:;"'\-=/.,]{0,40})"
|
||||
bool validate_password(const std::string& password)
|
||||
{
|
||||
// OLD: static const std::string allowed_password_symbols = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~!?@#$%^&*_+|{}[]()<>:;\"'-=\\/.,";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue