<% var uidValue = inputs.form ? inputs.form.username||inputs.form.email : ''; // Status Messages var statusDictionary = {}; statusDictionary['unverified'] = {header: 'Please check your email', detail: ['Before you can log into your account, you need to confirm your account by clicking the link we sent to your email address.', 'Be sure to check your spam folder and whitelist no-reply@machi.na.', 'Can\'t find the email? Resend'] }; statusDictionary['verified'] = {header: 'You are now confirmed', detail: ['You have successfully confirmed your email address. If you wish to login, you can do so below.'] }; statusDictionary['created'] = {header: 'Thank you for signing up', detail: ['You may now login.'] }; statusDictionary['reset'] = {header: 'Password is reset', detail: ['You can now login with your new password.'] }; statusDictionary['forgot'] = {header: 'Password Reset Requested', detail: ['If an account exists for the email provided, you will receive an email shortly.'] }; // Set the Current Status Information var status=inputs.status; if (status) { var statusHeader = statusDictionary[status].header; var statusDetail = statusDictionary[status].detail; } %> Login - Machina <% include blocks/head.html %>
<% if (status) { %>

<%= statusHeader %>

<%= statusDetail.join('
') %>
<% } // end (status) %> <% include blocks/error.block.html %>
<% include blocks/brand.logo.html %>
<% include blocks/company.details.html %>