<form id="login-form" onsubmit="return login()"> <h1>Change password for <?php echo $username."[".$id."]";?></h1> <label for="user">User</label><br> <input type="user" placeholder="user" id="username" value="<?php echo $username;?>" disabled/><br> <input type="hidden" placeholder="id" id="pid" value="<?php echo $id;?>" /> <label for="password">Password</label><br> <input type="password" placeholder="Password" id="userpass" required/> <input type="checkbox" onclick="mypasswordchk()"><span style="cursor:pointer;" onclick="mypasswordchk()">👁 Password</span><br><br> <input type="submit" value="Change"/> </form>
Edit file:zsetpassn.php1009