It would appear that Stash does not use the email address associated with the Stash user account when SSH keys are used to access repositories. We were performing an audit and were surprised to see logs stating that commits had been made by a user with a gmail account. We are using Active Directory as a User Directory and there are no gmail accounts in our farm. We did some digging and found that the employee with the gmail account was using SSH to access the repository.
Is there a way to force Stash to use the email address from the user directory and not the email address that a user has set on their local system?