Compare commits
2 Commits
55c378d992
...
708729b3f0
Author | SHA1 | Date |
---|---|---|
Ogoun | 708729b3f0 | 5 months ago |
Ogoun | 78ef654d3c | 6 months ago |
@ -1 +1 @@
|
||||
4b4b9b8782de19706da19d9f622b1c0ae0f67e76d13507633e9b217526407a05
|
||||
9dd3a16a8dacdbe5f2cc466ad40a08504afd3b209bf5aa3244617367acdb74bb
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
29025db0182771bf6cf91cb9d325b9bf6b103812996e3476ba09ddfdcd3dd811
|
||||
7f5cc006b958639e7e8dec7168fee05e5d67d989d1b57442822799baae7e50bc
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
c28eae5a62167b3f88da975698a44143e06a92a48510f345710c8331af8301c3
|
||||
49a6b99eb9746762d98975d176ee6bdef9ff02bcc7735dd733210a94f56977a4
|
||||
|
Binary file not shown.
@ -0,0 +1,18 @@
|
||||
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 @@
|
||||
e4e6ef3d232779668b7356b53e736c596a60d5e2e06421f0b29dbc4bb5a419a2
|
||||
43fea615f27b115ca71adae9d28aa42c583a4dce3ecf8ac2e68c45249fa1eb8e
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
98f72f42fc48d45d265a5ffb52e9388479522c8b965310d02bf57c3576b0305d
|
||||
35988eeb2f6ec07171bd438be797b856a73c21c866c63dda5acc3fd05805a464
|
||||
|
@ -1 +1 @@
|
||||
946ae02ae1d24f78debab34bdbac2f87234e55c2d9142e2f73b46c18adb4ce88
|
||||
f5dbf6e5fae0c40c44f3deea624c9d66253daf9b15a69764a628f551e25d65a4
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
c9e66645ae5573f9df578f3f25060b24528e55f246ced67e86a246dab31a8f04
|
||||
42c2b62eaebab82783669fac5b9b17840c7156b96c158e9adf53e20906acca1d
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
9de5ac71286c28facdb4bb6ca86d853cad2ea78e15c3db020117cee35f3bd8ce
|
||||
a3655cf563f7882b0d158e202c803f7e020b639c4c89ecb12dcd0caeff9b260f
|
||||
|
Binary file not shown.
Loading…
Reference in new issue