15 lines
226 B
JavaScript
15 lines
226 B
JavaScript
|
// NOTE: this is included on a wrong login attempt
|
||
|
|
||
|
function checkPassword(username, password)
|
||
|
{
|
||
|
if( username === 'admin' && password === 'strongPassword098765' )
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
|