Commit a8268975 authored by fv3rdugo's avatar fv3rdugo
Browse files

[#319] TODO where check 2FA

now error when you go to this page
need to find where to check 2fa
parent c3006c4d
......@@ -884,8 +884,8 @@ sub quick_start {
}
#return render_machines_user($c);
return tfa($c);
return render_machines_user($c);
#return tfa($c);
}
......
......@@ -8,12 +8,12 @@
<form class="form-singin" method="post">
<div class="form-signin">
<label class="col-form-label"><%=l 'Two factor authentication' %></label>
<input type="text" class="form-control" name="form_code" placeholder="<%=l 'Enter your code' %>" />
<input type="text" class="form-control required" name="form_code" placeholder="<%=l 'Enter your code' %>" required/>
<div class="checkbox">
<label><input type="checkbox" name="remember"> Remember this computer</label>
</div>
<input type='submit' class="btn btn-lg btn-success btn-block" onclick='this.form.submit();' name='login_code_click' value='<%=l 'Verify' %>'></input>
<a href="/logout"><i class="fa fa-fw fa-power-off"></i></a>
<a href="/logout"><i class="fa fa-fw fa-power-off"></i><%=l 'Log Out' %></a>
</div>
% if (scalar @$error) {
% for my $i (@$error) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment