Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


How to prevent multiple authentication attempts?


My company has a security policy that blocks an account after more than 3 failed login attempts. 

I have a lot of repositories that were using the same old stored credentials, and now that I've changed my password if I attempt a pull before changing the credentials for the repository I get my account blocked because Sourcetree always attempts to authenticate 4 times. 

Image 2019-06-13 at 2.02.59 AM.png

How I can set Sourcetree to attempt only once?


1 answer

1 vote
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 13, 2019

Hi @renecum_cignium,

You can't change this directly. I recommend changing your authentication settings for each repository by deleting the Keychain entries and letting Git prompt you again for them. Or simply cloning fresh if there are no local changes. Hope that helps a bit.

Brian Ganninger
Principal Developer, Sourcetree 

Hi @bgannin thanks for your reply but this doesn't help much. I have about 45 repositories, and even after I have deleted my keychain credentials some of the attempt to authenticate when I open them in Sourcetree and my account is blocked again.

How can I add a feature request to fix this?, This is not the first time that I need to change my password, every three months I got the same problem since we are forced to change the password once every three months. 

Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 14, 2019

Authentication as a whole is on the list for review. You can log a feature request for "migrating credentials for all repositories" here.

Has this been addressed yet? I am in the same situation at my company... three login attempts and I'm hosed.

The solution sounds simple enough in theory, but gets complicated in a hurry when using a number of different machines (like I do). If I forget that one of the machines has not been updated with the new password, then the next time I use it... BAM! And now I need to update all my repos on this machine with the new password, and also the repos on all of my  other machines as well.

This needs to be addressed. Using AD authentication, it can't just keep spewing failing login attempts, as this locks accounts quickly!

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events