whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
application
/
views
/
Web
/
Upload File:
files >> //proc/self/root/home/papecmvm/www/application/views/Web/reset_pass.php
<style> .my-alert-reset .alert{ width: 50%; margin: 0 auto; bottom: 1rem; } </style> <div class="block"></div> <div class="my-alert-reset"> <?php if($this->session->flashdata('msg_n')){ echo $this->session->flashdata('msg_n'); } ?> </div> <div class="container"> <div class="col-sm-4 offset-sm-4"> <form method="POST" action="<?php echo base_url().'webcontroller/reset_pass' ?>"> <!--<label>Check your email, An OTP has been sent to your email</label>--> <input type="hidden" name="email" class="form-control" value="<?php echo $email; ?> "> <input type="hidden" name="username" class="form-control" value="<?php echo $username; ?> "> <div class="form-group"> <input type="password" name="otp" class="form-control" placeholder="Enter OTP" required> </div> <div class="form-group"> <input id="password_reset" type="password" name="pass" class="form-control" placeholder="Enter password" required onchange="CheckPassword_reset($(this).val());"> </div> <div class="form-group"> <input id="confirm_reset" type="password" name="conf_pass" class="form-control" placeholder="Enter Confirm password" required> <span id='message_reset'></span> </div> <input type="submit" class="btn btn-theme" name="save" value="save"> </form> </div> </div> <div class="block"></div> <script> function CheckPassword_reset(inputtxt) { var decimal = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{8,15}$/; if (inputtxt.match(decimal)){ //alert('Password is strong') return true; } else { $("#password_reset").val(''); alert('Password is weak.Password should be at least 8 characters in length and should include at least one upper case letter, one number, and one special character.') return false; } } $('#password_reset, #confirm_reset').on('keyup', function () { if ($('#password_reset').val() == $('#confirm_reset').val()) { $('#message_reset').html('Both Password are Matching').css('color', 'green'); } else $('#message_reset').html('Both Password are not Matching').css('color', 'red'); }); </script>
Copyright ©2021 || Defacer Indonesia