修正一个重复注册时的错误

'UserCreationForm' object has no attribute 'error_messages'