bnoguchi/mongoose-auth — Issue #83: Merging login.jade and home.jade  giving undefined email error
Author: sarchak
Created: 2012-02-25 20:35:22+00:00
State: open

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