mirror of https://github.com/xfarrow/blink
fix
This commit is contained in:
parent
09dfcc0069
commit
1565cab2ba
|
@ -34,6 +34,7 @@
|
|||
</div>
|
||||
|
||||
<script src="../js/constants.js"></script>
|
||||
<script src="../js/utils.js"></script>
|
||||
<script>
|
||||
async function login() {
|
||||
const email = document.getElementById("email").value;
|
||||
|
@ -61,7 +62,8 @@
|
|||
document.cookie = `token=${data.token};`;
|
||||
window.location.href = 'userprofile.html?id=me';
|
||||
} else {
|
||||
callbackErrors(data.errors, alert);
|
||||
alert(data.error);
|
||||
//callbackErrors(data.errors, alert);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container" style="display: none;">
|
||||
<div class="container">
|
||||
<div class="edit-badge" style="display: none;" id="editBadge" onclick="editProfile()">Edit</div>
|
||||
<header>
|
||||
<img src="../content/profile-picture-example.jpg" alt="Profile Picture" class="profile-picture">
|
||||
|
|
Loading…
Reference in New Issue