[wp-trac] [WordPress Trac] #62917: Add an option to force users to change password on first login

WordPress Trac noreply at wordpress.org
Fri Feb 7 12:34:39 UTC 2025


#62917: Add an option to force users to change password on first login
------------------------------------+-----------------------------
 Reporter:  justinz2021             |       Owner:  (none)
     Type:  feature request         |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:  wontfix
 Keywords:                          |     Focuses:  administration
------------------------------------+-----------------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => wontfix
 * component:  Users => Login and Registration
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the ticket @justinz2021 .

 The default workflow in WordPress is pretty much this. When you register a
 user from Users -> Add New User, the user is sent an email containing a
 password reset link. The email doesn't contain their password, therefore
 if you don't manually tell the user what password you created for them
 then they can't log in without changing their password.

 I'm not sure what the reason is for not configuring outbound email on your
 server, but it's definitely creating a problem for yourself that you need
 not have. For example, if the user forgets their password then you're back
 to square one.

 If you really don't want to configure outbound email then I recommend
 installing an email capturing plugin such as
 [https://wordpress.org/plugins/wp-mail-logging/ WP Mail Logging] which you
 can use to capture the password reset link for the new user and send them
 the link manually. This is probably the most straight forward solution to
 this particular requirement.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62917#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list