I forgot my password question

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
dgkulick
Registered User
Posts: 69
Joined: Tue Jan 30, 2024 9:48 pm

I forgot my password question

Post by dgkulick »

Does the "I forgot my password" function email the user their username and a temporary password? It's the username I'm concerned about actually. I'm hoping it does but I can't test it because my test system is running on a local PC with no SMTP server. The idea is to pre-register everyone with their real name, address (optional profile field), and email address, which all comes from a dump from our management office. I'll stuff it into the database directly, I've already written the sql to do that. But since I'm using the same complex password for everyone, and they might not know their actual username, I figured I'd have them start off by using the "forgot my password" function which will hopefully give them their username and a temporary password.
User avatar
warmweer
Jr. Extension Validator
Posts: 11470
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: I forgot my password question

Post by warmweer »

dgkulick wrote: Tue Feb 20, 2024 10:45 pm Does the "I forgot my password" function email the user their username and a temporary password?
YES for the username
NO for the temporary password: a link is included with which the receiver of the mail can reset the password.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
dgkulick
Registered User
Posts: 69
Joined: Tue Jan 30, 2024 9:48 pm

Re: I forgot my password question

Post by dgkulick »

That's funny. I found this post viewtopic.php?t=2300576 from 2015 that's exactly the opposite of now. It requires the username and then sends a temporary password. Now it sends you the username and a link to change the password. That is what I want. Although I realized that most people will know their username which will just be first space last. For those with weird usernames with hyphens or Jr. or trustee accounts (it's a 55+ HOA) I'm running some REGEX in the code to clean them up.

The username_clean field in the user table is Unique so I don't have to worry much about having a duplicate name, it will probably throw an error when I run the SQL. There is an option in myphpadmin to automatically rollback after executing the SQL so I'll have lots of testing. It's probably just doing a transaction and rollback which I'd do anyway.
User avatar
warmweer
Jr. Extension Validator
Posts: 11470
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: I forgot my password question

Post by warmweer »

The topic you linked to is dated 2015. (and refers to phpBB 3.1)
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
dgkulick
Registered User
Posts: 69
Joined: Tue Jan 30, 2024 9:48 pm

Re: I forgot my password question

Post by dgkulick »

warmweer wrote: Wed Feb 21, 2024 7:22 am The topic you linked to is dated 2015. (and refers to phpBB 3.1)
Yup, that's why I had to ask. I can't see one until I get it on a live server. I have no idea how to get my PC to send emails and don't really want to.

Return to “[3.3.x] Support Forum”