Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [password]

The tag has no usage guidance.

2
votes
1answer
16 views

How to disable Woocommerce password recovery and use the default WordPress password reset page?

On my website: https://sciencehook.com/ when I request for password reset, it is redirecting to Woocommerce's reset page: https://sciencehook.com/my-account/lost-password, but I want default WordPress ...
0
votes
0answers
17 views

WordPress password reset not working

First off, the site is a cloned site. I can login to the source site no problem, with 2 different accounts. But on the cloned site, neither login works. I tried resetting the password, and the ...
1
vote
0answers
21 views

Custom password form allows unlock two posts with the same password

I use this custom password form in my theme: add_filter( 'the_password_form', 'custom_password_form' ); function custom_password_form() { $o = '<form action="' . esc_url( site_url( 'wp-login....
0
votes
0answers
21 views

Entering a WP site with a SMS code

Basically I am trying to figure out a way to do the following; My customer is trying to have a password protected website. The only catch is he wants visitors to get a specific random password as a ...
0
votes
0answers
13 views

Send a password to a user who has just registered for a member area

Here I meet a little problem with my code. What I do Well I was largely inspired by a tutorial to make a registration system login to a member area under wordpress in the case of a theme developed. ...
-1
votes
1answer
27 views

password_reset doesnt work

Im trying to use $_POST method after password reset submit action here is the code add_action( 'after_password_reset', 'action_function', 10, 2 ); function action_function( $user, $new_pass ){ if ...
0
votes
1answer
23 views

Which hook should I use to capture $_POST('password') via profile update and password reset

I need to rehash the password which the user entered during Wordpress registration (I use WooCommerce) I'm successfully able to do this with the following: add_action( 'user_register', '...
2
votes
0answers
66 views

Wordpress reset password returns invalid key

I'm currently trying to build a custom reset password form, which seems to work fine up until it needs to validate the key for the user: //Redirect away from default wordpress to reset password ...
2
votes
0answers
33 views

How can I find users that didn't set a password?

Is it possible to find (and bulk delete) users that registered on my WordPress site but never set a password over their confirmation email?
0
votes
1answer
16 views

Password protection template and automatic fall in post type

I have a custom template that I protect with a password. This template shows a listing of posts from a custom post type. The password on this custom template works, but the single posts are not ...
0
votes
2answers
16 views

How can I theme or style the lost password page without a plugin?

So I want to apply a theme and style the lost password page without the use of a plugin. I don't want it to show the default Wordpress lost password page. I managed to style the login form by ...
0
votes
0answers
11 views

reset password error message shows but user can log in

Users who have lost their password click on "lost password" which opens a box for their email address and for them to select "Get New Password". The an error message shows up "Sorry unrecognised ...
0
votes
2answers
37 views

How to show my wordpress admin username & password?

when i created my worpress website i have given admin log in user name & password.But i forgot both.Now,how to find my wordpress admin log in username & password? from file or database .What ...
-1
votes
1answer
33 views

Send password to user instead of reset password link

I want to send custom password to user instead of reset password link. I can not find any such option in the admin panel. How can I do it? When user resets his password, I want him to get new ...
0
votes
0answers
27 views

Problem with login / reset password links in users emails

I have a problem with passwords for users. User want to reset his password. He is getting email with link. But, when he clicks on it, it opens in browser with additional sign on the end: https://www....
0
votes
0answers
18 views

Custom Registration page and Password Verification

I need some help figuring out how wordpress errors work. I hired a developer to code a registration form for my website. However, it doesn't allow users to set their own password, which I want. ...
0
votes
2answers
104 views

Custom get_the_password_form

I'm interested in creating a filter for pages with password protection and that have a certain category. I've placed this code in my theme's child folder in functions.php since I didn't want to edit ...
0
votes
0answers
16 views

How to set password protected cookie with ajax POST?

I've tried sending a post request to wp-login.php, but I'm getting a 406 error. I also tried copying the relevant parts of wp-login.php to my own script and sending the post there, but the cookie it ...
0
votes
0answers
11 views

How do i updated auto generate password into the database using custom function into the function.php

How do i updated auto generate password into the database using custom function into the function.php? Currently function updated auto generate password into the database but problem is that unable to ...
0
votes
1answer
41 views

Need help for WordPress User Session Management?

I need help regarding WordPress session management. Follow these steps:: Bug: Session management and break authentication. Steps to reproduce: Log in to your account using browser 1. Now, login to ...
0
votes
1answer
18 views

Do i need escaping get_the_passsword_form function?

I saw themeforest/WordPress.org has said all WordPress default get functions need to be escaped output for security region for WordPress Theme or Plugin development, Now I want to show password form ...
0
votes
1answer
27 views

Members-only page, but accessible via sharable link

Our site has a lot of members-only content, but we would like to allow our members to share certain content with non-members. Is there a way to generate sharable links that would allow non-members to ...
0
votes
0answers
24 views

Password protect multiple pages

Is it possible to have the "password protected page" feature of WordPress apply to more than one page? I have multiple pages I wish to protect with the same password, but I don't want people to keep ...
0
votes
1answer
28 views

How to upload my HTML/JS/PHP website to WordPress and make it password protected?

I do have a static HTML website which is working with JS and PHP. I would like to upload it to WordPress and make it accessible only with a password. Is this possible? Regarding uploading: I was ...
0
votes
1answer
45 views

Check for empty username or password on login

I'm building a custom login page for clients and wish to keep the wp-login page for site administrators. For checking for empty fields I'm using the code: function verify_user_pass($user, $username, ...
1
vote
1answer
423 views

Force user to change their password on first log in of site using shortcode

I'm working on a WP 4.9.8 and looking for a script to force users to change their password on their first viewing of the site. It's an enterprise website, users are added by import of a csv file with ...
0
votes
1answer
459 views

How can I modify the default reset (lost) password email text?

I found some similar questions on here, but was unable to apply the solutions that were provided. The standard password reset email that Wordpress is sending does not provide a clickable url for ...
0
votes
1answer
242 views

how to encyrpt DB_PASSWORD in wp-config

Recently moved my wordpress site to another hosting provider and after importing my database I had issues establishing a database connection. I edited wp-config file and entered my DB_PASSWORD to re-...
0
votes
1answer
32 views

Password Protect content() on homepage

I need to password protect several pages and various areas of my templates if the page had a password enabled. This I can do on all subpages but on the homepage it's just not working. I do not want ...
0
votes
1answer
183 views

Disable password limitations

I had a "learnpress" plugin in my Wordpress website that uses default registration wordpress setting, but I'd like to remove all limitations of password including length (12 character), adding number ...
-1
votes
1answer
31 views

Is my WP site being hacked?

In the past month or so I've seen 3 or 4 new users signing up each day with "awkward" usernames (letters/numbers). Then, a few days later, they start changing their password. And then a few days later ...
1
vote
1answer
501 views

Customize reset password form redirect problem

I would like to create my own reset password form and page, I mean this page: I have already created a page template for the reset password form, the code: <?php /* * Template Name: Page - Reset ...
2
votes
2answers
518 views

WooCommerce changes lost password reset link

When I activate WooCommerce plugin, the lost your password does not work and can't sent password reset email to users. But when I deactivate WooCommerce, the lost your password link at login page ...
0
votes
1answer
36 views

Is it possible to send user new password after they clicking on forgot password in word press

In word press is it possible to send users to new password after they are clicking on forgot password page ? Actually I dont want to send any url to users email which can take them to any page. Also ...
0
votes
0answers
18 views

Function called by password_reset action passed only 1 argument instead of 2 in PHP 7.2.11

WordPress Version: 4.9.8 Note that the below happens only in PHP version 7.2.11 and in 7.0.32 it works fine! password_reset action is suppose to call function with 2 arguments but I am getting this: ...
0
votes
1answer
44 views

WordPress produces identical hash all the time

So I was looking at WordPress'es source because I was curious how hashes are compared on the back-end. However, I am at a loss to understand how exactly phpass is meant to produce different hashes for ...
0
votes
0answers
16 views

Intercept password prior to wp_update_user committing and hashing?

I'm using a plugin that uses wp_update_user instead of password_reset and I need to use the password prior to hashing to sync the change to a secondary authentication system. Is there any way to do ...
0
votes
1answer
43 views

Hook into all password resets in Wordpress and get password before hashing?

I'm syncing my Wordpress authentication system with an secondary/external authentication system and my site has at least two ways of resetting the password, including: Password reset email User ...
0
votes
1answer
30 views

How to set password from frontend if have activation key and user login in url in wordpress?

I want to give functionality to user, while their account is created in wordpress by administrator at that time set password email is sent to user, which contains custom page link with activation key, ...
0
votes
1answer
29 views

New user password confirmation sending wrong URL

We use the itheme security to hide the back end of our site. When a user signs up they receive an email that says: To set your password, visit the following address: https://www.ecample.co.uk/wp-...
0
votes
0answers
49 views

WP-CLI is unable to update password

I execute following command to change password for admin user from command line: wp user update admin --user_pass="mynewpassword" --allow-root I got following error message: WordPress database ...
0
votes
1answer
163 views

autocomplete=“off” WordPress Login

I need to remove the auto complete password within the login page. I understand I need to set autocomplete="off". There is another article on this site (How to disable autocomplete on the wp-login.php ...
1
vote
0answers
47 views

Wordpress password reset - why post rp_key?

I'm developing a plugin and after reading through wp-login.php, I can't seem to work out why some things are done the way they are. Why does WordPress hide the reset password key from the URL? After ...
0
votes
1answer
39 views

Change page password every day (predictable password ;) )

I've got a WP page containing a survey. The survey will be accessed by different people everyday (for simplicity say everyday for the whole year). I would like to password protect it and the password ...
0
votes
0answers
79 views

Gives users 'password protected' option checkbox on front end post

I'm working on an event based website where users can post events that are then shown on the site. Users use a front-end post form to fill details in, then event is posted on site https://myselekta....
0
votes
1answer
24 views

How can I migrate (export and import) wordpress users without loosing their password?

I must migrate from one page to another and the customer want me to keep the password. But as their are im MD5 and salted, I don't know how to proceed. Does anyone know it? Thank you a lot for your ...
0
votes
1answer
43 views

Clients with empty username are not receiving request new password email

I am looking after a old site from a client and a lot of users dont have username. I had setup in woocommerce "When creating an account, automatically generate a username from the customer's email ...
-1
votes
1answer
39 views

How to store a plain password in WordPress database in another field

Does anybody knows how could I get the plain password (via hook) in the moment a user registers and before it is hashed? For example, when they are going to register a blog. http://prntscr.com/k4sfbr ...
0
votes
1answer
235 views

Allow users from my ASP.Net MVC site to access my private WordPress site

I have an ASP .Net MVC site and I would like users who are logged in to my site to be able to access a separate WordPress site which I also own. Otherwise, if a user is not logged into my ASP .Net ...
0
votes
1answer
41 views

Create password protected page, no registration

I'm a Wordpress beginner and need a little help. I would like to create a page on my website which is only available to customers. I would like only that page and subpages(?) to that page to be ...