Add a way to logout at second factor stage
parent
1cf4e57bb1
commit
9ddc0949b6
|
@ -19,6 +19,7 @@ function handler(req: Express.Request, res: Express.Response): BluebirdPromise<v
|
|||
}
|
||||
|
||||
res.render(TEMPLATE_NAME, {
|
||||
username: authSession.userid,
|
||||
totp_identity_start_endpoint: Endpoints.SECOND_FACTOR_TOTP_IDENTITY_START_GET,
|
||||
u2f_identity_start_endpoint: Endpoints.SECOND_FACTOR_U2F_IDENTITY_START_GET
|
||||
});
|
||||
|
|
|
@ -5,6 +5,7 @@ block form-header
|
|||
<img class="header-img" src="../img/padlock.png" alt="">
|
||||
|
||||
block content
|
||||
p Hi <b>#{username}</b>, please complete second factor or <a href="/logout">logout</a>.
|
||||
<div class="notification notification-totp"></div>
|
||||
<form class="form-signin totp">
|
||||
<div class="form-inputs">
|
||||
|
|
Loading…
Reference in New Issue