View unanswered posts | View active topics It is currently Sun Nov 19, 2017 7:26 am



Reply to topic  [ 1 post ] 
 disable autogenerated password 
Author Message
Junior Member

Joined: Fri May 18, 2012 7:21 am
Posts: 2
Post disable autogenerated password
Hello

Friends

Please help me


How can I disable autogenerated password In the registration form

http://payab.ir/register/

Code:
<form action="<?php echo appthemes_get_registration_url( 'login_post' ); ?>" method="post" class="login-form register-form" name="registerform" id="login-form">

   <p><?php _e( 'Complete the fields below to register.', APP_TD ); ?></p>

   <fieldset>
      <div class="form-field">
         <label>
            <?php _e( 'Username:', APP_TD ); ?>
            <input tabindex="1" type="text" class="text required" name="user_login" id="user_login" value="<?php if ( isset( $_POST['user_login'] ) ) echo esc_attr( stripslashes( $_POST['user_login'] ) ); ?>" />
         </label>
      </div>

      <div class="form-field">
         <label>
            <?php _e( 'Email:', APP_TD ); ?>
            <input tabindex="2" type="text" class="text required email" name="user_email" id="user_email" value="<?php if ( isset( $_POST['user_email'] ) ) echo esc_attr( stripslashes( $_POST['user_email'] ) ); ?>" />
         </label>
      </div>

      <div class="form-field">
         <label>
            <?php _e( 'Password:', APP_TD ); ?>
            <input tabindex="3" type="password" class="text required" name="pass1" id="pass1" value="" autocomplete="off" />
         </label>
      </div>

      <div class="form-field">
         <label>
            <?php _e( 'Password Again:', APP_TD ); ?>
            <input tabindex="4" type="password" class="text required" name="pass2" id="pass2" value="" autocomplete="off" />
         </label>
      </div>

      <div class="form-field">
         <div id="pass-strength-result" class="hide-if-no-js"><?php _e( 'Strength indicator', APP_TD ); ?></div>
         <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).', APP_TD ); ?></p>
      </div>

      <?php do_action( 'register_form' ); ?>

      <div class="form-field">
         <?php echo APP_Login::redirect_field(); ?>
         <input tabindex="30" type="submit" class="btn reg" id="register" name="register" value="<?php _e( 'Register', APP_TD ); ?>" />
      </div>

   </fieldset>

   <!-- autofocus the field -->
   <script type="text/javascript">try{document.getElementById('user_login').focus();}catch(e){}</script>
</form>



Sat Aug 26, 2017 3:50 am
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.