should validate for owner before setting the new password [require(msg.sender ==s_owner)]
function setPassword(string memory newPassword) external {
require(msg.sender == s_owner);
s_password = newPassword;
emit SetNetPassword();
}
only owner can set new password when add that validation
require
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.