password
Password Protect CMS Page
Password Protect CMS Page
to protect any page with a password in an easy way you can add this script to the top of the page
<script type="text/javascript">
    var password = 'password123'
    var retVal = prompt("Enter your password : ", "your password here");
    if(retVal !== password)
    {
        location.assign('');
    }
</script>
Magento 2: Change Customer Password programmatically
Most programmer need to change sometime the password of one customer programmatically, in this wiki I will give you a code to change the password programmatically