Skip to content

Commit

Permalink
Login system Working
Browse files Browse the repository at this point in the history
  • Loading branch information
PintoDev64 committed Jul 25, 2022
1 parent eaea21d commit d4d078e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Components/Login/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default function LoginForm() {

const [user, setUser] = useState('');
const [password, setPassword] = useState('');
const [log, setLog] = useState(false);

const inputUser = (event) => {
setUser(event.target.value);
Expand All @@ -20,9 +19,7 @@ export default function LoginForm() {

const Login = () => {

setLog(!log);

fetch('http://localhost:4000/',
fetch('https://SofiaPlus-API.11-cardozo-joan.repl.co',
{
method: "PUT",
headers: {
Expand Down

2 comments on commit d4d078e

@vercel
Copy link

@vercel vercel bot commented on d4d078e Jul 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on d4d078e Jul 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.