← back to AbramsOS
views/step-up.ejs
20 lines
<%- include('partials/header', { title: 'Re-verify' }) %>
<section class="auth-card glass">
<h1>Re-verify to continue</h1>
<p class="subtle">For your security, AbramsOS requires a fresh 2FA code before importing personal data or adding a new connector.</p>
<% if (error) { %><p class="error-banner"><%= error %></p><% } %>
<form method="post" action="/step-up" autocomplete="off">
<input type="hidden" name="_csrf" value="<%= csrfToken %>">
<input type="hidden" name="next" value="<%= next %>">
<label>6-digit code
<input type="text" name="token" inputmode="numeric" pattern="[0-9 ]{6,8}" maxlength="8" required autofocus>
</label>
<button class="button primary" type="submit">Verify</button>
</form>
</section>
<%- include('partials/footer') %>