Compare commits
No commits in common. '708729b3f0a4a46b4ed8277753e30266f9b02ae4' and '55c378d992a77b2e7bab92c27e38534159cb0527' have entirely different histories.
708729b3f0
...
55c378d992
@ -1 +1 @@
|
|||||||
9dd3a16a8dacdbe5f2cc466ad40a08504afd3b209bf5aa3244617367acdb74bb
|
4b4b9b8782de19706da19d9f622b1c0ae0f67e76d13507633e9b217526407a05
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
7f5cc006b958639e7e8dec7168fee05e5d67d989d1b57442822799baae7e50bc
|
29025db0182771bf6cf91cb9d325b9bf6b103812996e3476ba09ddfdcd3dd811
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
49a6b99eb9746762d98975d176ee6bdef9ff02bcc7735dd733210a94f56977a4
|
c28eae5a62167b3f88da975698a44143e06a92a48510f345710c8331af8301c3
|
||||||
|
Binary file not shown.
@ -1,18 +0,0 @@
|
|||||||
import Auth from "./js/login/index.js";
|
|
||||||
const auth = new Auth();
|
|
||||||
|
|
||||||
const enter = () => {
|
|
||||||
const login = document.getElementById("login").value;
|
|
||||||
const password = document.getElementById("password").value;
|
|
||||||
if (login && password) {
|
|
||||||
auth.login({ login, password });
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
loginButton.addEventListener("click", enter);
|
|
||||||
const form = document.getElementById("form");
|
|
||||||
form.addEventListener("keypress", (event) => {
|
|
||||||
if (event.key === "Enter") {
|
|
||||||
enter();
|
|
||||||
}
|
|
||||||
});
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
43fea615f27b115ca71adae9d28aa42c583a4dce3ecf8ac2e68c45249fa1eb8e
|
e4e6ef3d232779668b7356b53e736c596a60d5e2e06421f0b29dbc4bb5a419a2
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
35988eeb2f6ec07171bd438be797b856a73c21c866c63dda5acc3fd05805a464
|
98f72f42fc48d45d265a5ffb52e9388479522c8b965310d02bf57c3576b0305d
|
||||||
|
@ -1 +1 @@
|
|||||||
f5dbf6e5fae0c40c44f3deea624c9d66253daf9b15a69764a628f551e25d65a4
|
946ae02ae1d24f78debab34bdbac2f87234e55c2d9142e2f73b46c18adb4ce88
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
42c2b62eaebab82783669fac5b9b17840c7156b96c158e9adf53e20906acca1d
|
c9e66645ae5573f9df578f3f25060b24528e55f246ced67e86a246dab31a8f04
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
a3655cf563f7882b0d158e202c803f7e020b639c4c89ecb12dcd0caeff9b260f
|
9de5ac71286c28facdb4bb6ca86d853cad2ea78e15c3db020117cee35f3bd8ce
|
||||||
|
Binary file not shown.
Loading…
Reference in new issue