summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-04-25 19:56:16 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-25 09:58:57 -0700
commit90db7d3a50a802d6299e7c55b0798bb300915570 (patch)
tree241e80a8b97ba42e37133de8011d480d9040d3a6 /core/save-xml.c
parentd3867a09f3fce5d45baf16da1e8dabb14fa648c0 (diff)
downloadsubsurface-90db7d3a50a802d6299e7c55b0798bb300915570.tar.gz
Abort git authentication attempt
If we have incorrect cloud credentials, we need to return an error on git authentication call back in order to avoid endless authentication loop. This might well happen e.g. when changing the password on desktop and then on laptop Subsurface still thinks the credentials are validated and ends up in the authentication loop. The authentication call back on libgit is intended to be used to ask for user credentials, and as we handle credentials elsewhere, we just need to fail the authentication attempts. (The threshold for bail out could have been 1 attempt...) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/save-xml.c')
0 files changed, 0 insertions, 0 deletions