krb5 commit: Change kfw destroy ticket confirmation message

Benjamin Kaduk kaduk at MIT.EDU
Thu Aug 23 15:32:45 EDT 2012


https://github.com/krb5/krb5/commit/253b9a7f317d03c3392add07d3da2c4c4ecfc08f
commit 253b9a7f317d03c3392add07d3da2c4c4ecfc08f
Author: Kevin Wasserman <kevin.wasserman at painless-security.com>
Date:   Fri Jul 20 11:07:48 2012 -0400

    Change kfw destroy ticket confirmation message
    
    OKCANCEL -> YESNO
    Add MB_ICONEXCLAMATION
    Change text
    
    Signed-off-by: Kevin Wasserman <kevin.wasserman at painless-security.com>
    
    ticket: 7239 (new)
    queue: kfw
    target_version: 1.10.4
    tags: pullup

 src/windows/leash/LeashView.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/windows/leash/LeashView.cpp b/src/windows/leash/LeashView.cpp
index 1b67937..3c91e32 100644
--- a/src/windows/leash/LeashView.cpp
+++ b/src/windows/leash/LeashView.cpp
@@ -752,8 +752,8 @@ VOID CLeashView::OnDestroyTicket()
         INT whatToDo;
 
         if (!CLeashApp::m_hAfsDLL)
-            whatToDo = AfxMessageBox("You are about to destroy your ticket(s)!",
-                                     MB_OKCANCEL, 0);
+            whatToDo = AfxMessageBox("Are you sure you want to destroy these tickets?",
+                                     MB_ICONEXCLAMATION|MB_YESNO, 0);
         else
             whatToDo = AfxMessageBox("You are about to destroy your ticket(s)/token(s)!",
                                      MB_OKCANCEL, 0);


More information about the cvs-krb5 mailing list