You should definitely allow password spaces . Many people prefer to use code phrases, and by abandoning spaces, you make life hard for them without any benefit.
In addition to allowing passphrases instead of passwords, you should also encourage them because they are more secure (OK, I admit half the reason I wrote this to put in the xkcd link).
source share