Skip to content

Commit

Permalink
fix : renew password
Browse files Browse the repository at this point in the history
  • Loading branch information
bas524 committed Dec 30, 2022
1 parent 1b29c52 commit 1ca09cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/krb5ticketwatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ void Ktw::kinit() {
case KRB5KRB_AP_ERR_BAD_INTEGRITY:
/* Invalid password, try again. */
errorTxt = ki18n("Invalid Password");
keyChainClass.deleteKey(principalKey);
keyChainClass.deleteKey(pwdKey);
break;
case KRB5KDC_ERR_KEY_EXP:
/* password expired */
Expand Down

0 comments on commit 1ca09cb

Please sign in to comment.