passport-negotiate
Version:
Negotiate (kerberos) authentication strategy for Passport.
20 lines (18 loc) • 1.03 kB
text/jade
extends layout
block content
- var buttonText = user && user._id ? "Update profile" : "Register New Profile";
div.container
div.row
div.col-sm-6.col-md-4.col-md-offset-4
h1.text-center.login-title Registration Details
div.signup-wall
form(class='form-signin', action='/manageprofile', method='POST')
input(type='text', name='principal', value=user.principal, class='form-control', placeholder='Principal',required, autofocus, readonly)
input(type='email', name='email', value=user.email, class='form-control', placeholder='Email',required)
input(type='text', name='firstName', value=user.firstName, class='form-control', placeholder='First Name',required)
input(type='text', name='lastName', value=user.lastName, class='form-control', placeholder='Last Name',required)
button(class='btn btn-lg btn-primary btn-block', type='submit') #{buttonText}
span.clearfix
if message
h1.text-center.error-message