Hi, I noticed something strange when testing the registration of users.
If I attempt to register as user: 'My Name' (note the space), the form validation passes and I get an 'email sent' message. What actually happens though, is the the username gets inserted into the db as 'my'. I'm fine with the lowercasing but I would rather strip the spaces and insert the user as 'myname' I have been searching for a hook to do this and I have tried the two methods: auth.settings.register_onvalidation = clean_username auth.settings.register_onaccept = clean_username Where 'clean_username' is a function to strip all the spaces from the entered text. My problem is that the username has already been stripped by the time it gets this far. Strangely enough this doesn't happen for the username field in the login form. Does anywhere know where this might be happening and how I can override it? Thanks, John

