mongoose-auth icon indicating copy to clipboard operation
mongoose-auth copied to clipboard

Merging login.jade and home.jade giving undefined email error

Open sarchak opened this issue 13 years ago • 0 comments

I tried to merge home.jade and login.jade but somehow I am getting into issue where its cribbing that email is undefined.

I have this code in home.jade instead of login.jade form(action='/login', method='POST') #Email label(for=everyauth.password.loginFormFieldName) Email input(type='text', name=everyauth.password.loginFormFieldName, value=email) #password label(for=everyauth.password.passwordFormFieldName) Password input(type='password', name=everyauth.password.passwordFormFieldName) #submit input(type='submit') Login

sarchak avatar Feb 25 '12 20:02 sarchak