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