this is updated

This commit is contained in:
Vratika 2024-12-10 15:49:28 +05:30
parent 3a672b555b
commit 76c77b692d
6 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
</div> </div>
<div class="form-footer"> <div class="form-footer">
<p class=""><a href="{% url 'LoginwithDevice' %}">Add device with login</a></p> <p class=""><a href="{% url 'Login_with_Device' %}">Add device with login</a></p>
</div> </div>
<script> <script>
document.getElementsByClassName("login-form").value=res document.getElementsByClassName("login-form").value=res

View File

@ -229,7 +229,7 @@
function registerUser(formData) { function registerUser(formData) {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: "{% url 'LoginwithDevice' %}", url: "{% url 'Login_with_Device' %}",
data: formData, data: formData,
dataType: 'json', dataType: 'json',
headers: { headers: {