picoctf/web/local_authority/secure.js

15 lines
226 B
JavaScript
Raw Normal View History

2024-09-03 22:52:56 +02:00
// NOTE: this is included on a wrong login attempt
function checkPassword(username, password)
{
if( username === 'admin' && password === 'strongPassword098765' )
{
return true;
}
else
{
return false;
}
}