Questions tagged [password]

The tag has no usage guidance.

-1
votes
1answer
12 views

Reset Password - change from name and email address. It stucks at admin. Want to change it to info

At the admin dashboard of my wordpress under wordpress settings > general my admin email is set as info@mydomain.com Here is my issue. When a customer wants to reset her or his password automated ...
1
vote
2answers
55 views

Safe to store SMTP password in wp-config.php?

I am using SMTP to send email through WordPress, however this requires using plain text password. What if this password is stored in wp-config.php? Very similar to this. Why this topic differs from ...
0
votes
1answer
14 views

Password not resetting on wordpress?

I've repeatedly tried to reset my password on the Wordpress site according to their help site but it never changes despite not throwing an error. Attempting to reset my password through the 'forgot ...
0
votes
1answer
14 views

My password protected WordPress page is displaying 403 error when I log in

I created a new page on word press and made it password protected. When anyone tries to log on they get taken to the correct page and asked to enter the password. It is a generic password for ...
0
votes
0answers
32 views

Customize Password Protected Page input label only

On the password protected page form, is it possible to customize just the password input label? For example; I dont want the text: Password: I just want to change that text to something else like: ...
0
votes
0answers
22 views

Login issue in Wordpress

I'm facing currently an issue with my wordpress site, i don't know exactly what happened but when i try to login from /wp-admin i enter my password and i connect, but naturaly after the session dies i ...
0
votes
1answer
21 views

How to make a page both “private” and “password protected”

I’m working on a website which requires these two type of access for each post. (I mean, each post can be viewable in both of these cases) 1- Registered users in specific groups should be able to ...
0
votes
1answer
31 views

Password Protect wp-content?

We have a password protected blog, so only users with the password can see the text on the posts - but each image we add to the blog post generate URLs which can then be accessed by anyone who knows ...
0
votes
0answers
8 views

Password protection for pages and categories stopped working for me [closed]

So my wordpress page uses access category password to limit visibility of a category of posts that should only be seen by board members (who have the password). This worked until I made a host switch. ...
1
vote
2answers
19 views

How do I force password reset even with wrong password entered?

I am currently moving from a custom platform to WordPress. I don't believe there is anyway to migrate passwords from our current site due to encryption. User will be emailed to reset their password ...
0
votes
1answer
39 views

Hide password protected dynamic content in templates via shortcode

I am using this plugin https://wordpress.org/plugins/content-protector/ Enter the correct password to view the content↓ [passster password="123456"]content here[/passster] adding to php↓ <?php ...
0
votes
0answers
92 views

Password Protection issue

I am currently working with a client that has photo and video galleries which are password protected. The company throws monthly parties and at the parties they hand a card to everyone coming in the ...
2
votes
1answer
47 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
27 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
24 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
22 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
14 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. ...
0
votes
1answer
38 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 ...
1
vote
1answer
27 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
1answer
102 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
28 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
45 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
13 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
49 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
38 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
29 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
20 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
166 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
28 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
48 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
21 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
34 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
29 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
75 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
610 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
2k 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
465 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
265 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
33 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
723 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
792 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
37 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
22 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
50 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
61 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 ...