Remove check for passwords that prevents using only whitespaces

Hi everyone,

we currently have a very old check in XWiki standard when new users registered that prevents them to use only whitespaces as password.
This check can be found there: xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java at master · xwiki/xwiki-platform · GitHub.
IMO it does not make sense anymore since we now have password security policies that can be enforced, as part of Loading...

So I propose to now remove this old check from our code.

The vote will be open until the end of next week: friday 07/11, and here’s my +1.

+1

+1

+1

+1

So, on 5 committers vote, 5 +1. I’m closing the vote now.
I will remove the check as announced and close the related issue. Thanks everyone.