Error in customized Login Page

Hello all,

I created a custome login page with the custom login form template. I have attached the code as a .txt file. There is a problem when I click on new registration. Error is shown like :
String (password) is too short (0 chars), minimum 1

error in email - email format validation failed: asd

​Can anyone please help?
Login Page HTML.txt (6.0 KB)