Questions tagged [reset-password]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
103 views

Difference between Site.forgotPassword() and System.resetPassword()

For a while now our community portal has been having regular yet inconsistent issues with users trying to request a password reset. We have a password reset link exposed which behind the scenes calls ...
user avatar
1 vote
1 answer
106 views

Salesforce Password Expired

My salesforce password expired for unknown reasons. The password policy is set to expire the password every year and it's only been 4 months. Has anyone encountered this issue?
user avatar
2 votes
0 answers
188 views

Reset password in community using System.ResetPassword referring another community

I have a community user who has access to multiple communities. What I am doing is, calling System.ResetPassword(userId, true) from a guest user context. So the reset password link is sent to the ...
user avatar
1 vote
0 answers
202 views

Can I edit the default Digital Experience site's 'Reset Password' page?

In a Digital Experience site: Administration > Login & Registration > Password Pages > Reset Password. I'm able to choose between "Default Page" and "Visualforce Page"....
user avatar
  • 59
1 vote
0 answers
137 views

System.ResetPasswordWithEmailTemplate not sending context to the VF Email Template

in here issue details: Context: In our system we are sending Welcome Emails using the method System.resetPasswordWithEmailTemplate to customers in our Experience Cloud (community). When we tried to ...
user avatar
0 votes
2 answers
62 views

Get Logs on User Password Reset Button

Greetings Salesforce Friends! I've got a bit of a weird situation around Users in a Community getting the wrong email when we use the User Record Reset Button. Is there a way to get the logs for this ...
user avatar
  • 1,258
1 vote
0 answers
122 views

How to get welcome link for Community User?

Using "System.resetPassword(userId, True)" we can issue the reset password email to a community user in salesforce via apex: But we also want to send the reset password link via SMS. Is ...
user avatar
0 votes
0 answers
113 views

Apex Trigger to detect Password Reset / Change?

Is it possible to detect a password change via any apex trigger? This is related to the Service Cloud. What I'm trying to achieve here is once a user is sent a password reset link and they utilize the ...
user avatar
0 votes
1 answer
319 views

Is there a way to kill all active sessions when a user resets his password?

Scenario: If a User has logged in two browsers and if he reset password in one browser, the second browser session is still active. this will be a problem if an attacker gains access to my account and ...
user avatar
  • 191
0 votes
1 answer
88 views

Question regarding SF User Name, and Email updates while keeping passwords

Our company is rebranding , thus we need to update both the salesforce (SF) user name and email for both the Marketing and System Admin user accounts we need for an external client's non-production ...
user avatar
2 votes
0 answers
652 views

Can we change reset password link validity to 72 hours instead of 24?

I have a requirement to send a reset password link from the apex code. By default, the reset password link which is sent over the email is valid for 24 hours. Can I change that to 72 hours? I am ...
user avatar
  • 10.4k
4 votes
2 answers
1k views

What is the simplest way to offer "change password" in a Community?

In the Community Administration Login & Registration, there is a "Reset Password" page option that offers: Default Page Visualforce Page I would like to expose the "Default Page" in my community ...
user avatar
  • 129k
1 vote
0 answers
251 views

Forgot Password Interstitial Page [duplicate]

I am facing the following problem, which may be a result of my misunderstanding of the whole concept. Let my try to explain. We use one community. The community users have in their profile the flag ...
user avatar
  • 11
4 votes
2 answers
1k views

Is it Possible to Change a User's Email and Reset Password at Same Time via Apex Code?

When using the Saleseforce UI, it is possible to change a user's email and send them a password at the same time by changing the email and clicking 'Generate new password and notify user immediately' ...
user avatar
-1 votes
2 answers
259 views

How do I reset password on salesforce.com

Please check your username and password. If you still can't log in, contact your Salesforce administrator. I am assuming my password is locked for salesforce.com, how do I unlock this please
user avatar
0 votes
0 answers
27 views

Community password expiration [duplicate]

For my community login, I have a custom vf page to which the user is redirected if his password has expired for him to reset his password. Also, when the user's password is reset manually from the ...
user avatar
0 votes
1 answer
500 views

unable to reset the password using System.ResetPassword()

I'm trying to reset the password for the logged-in user and I'm getting this error INVALID_SESSION_ID: This session is not valid for use with the API public class apexclass1 { @AuraEnabled ...
user avatar
  • 6,559
0 votes
1 answer
377 views

Is it possible to add custom email template with System.resetpassword() [closed]

I have to send a custom email template with System.resetpassword() method. Is it possible?
user avatar
  • 161
0 votes
0 answers
27 views

Can we move developer forum points from one org to another?

Unfortunately i am not able to login to my old developer org and also can't reset my password. Tried sending email to trailhead@salesforce.com, but its saying this address is added to no reply email. ...
user avatar
  • 41
0 votes
1 answer
94 views

What triggers Expired Password Visualforce Page?

Exactly as title says - I am curious what triggers the expired password page to be sent to a user? Obviously it is the expired password that triggers it - but I am curious what field (on the User ...
user avatar
  • 3,167
1 vote
0 answers
40 views

internal error occurred during resetting password

First of all, I understand that this might not be the correct platform to ask such question, but I am looking for support.So, here I go I am trying to reset password for my developer org. When I ...
user avatar
  • 1,367
1 vote
2 answers
881 views

setting password with system.setPassword() does change security token as well?

I am setting a password of an existing user, is it possible that setting this password will reset the security token as well ?
user avatar
0 votes
1 answer
1k views

Check How Many Times Community Password Has Been Reset Within Last 24 Hours for a User

I have a customer community which uses a custom lightning login page. We have our own email templates for resetting a password which has all been taken care of. Now, Salesforce has a reset password ...
user avatar
  • 155
1 vote
1 answer
161 views

resetPassword problem for enterprise users when called from a community?

I'm working within a custom application in a customer community that is used by both community-license users and Salesforce enterprise users. There is a custom Visualforce page where an application ...
user avatar
  • 6,320