1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00

Merge pull request #15 from DDynamic/fix-totp

Fix TOTP AJAX
This commit is contained in:
Dane Everitt 2015-12-13 20:35:20 -05:00
commit 316e8a0b33

View File

@ -84,7 +84,7 @@
<div class="col-md-3"></div>
<script type="text/javascript">
$(document).ready(function() {
$('#login-form').submit(function (event) {
$('#login-form').one('submit', function (event) {
event.preventDefault();
var check_email = $('#email').val();
$.ajax({