From fe76a9ca5690815a4f3430c26eb8f340ce1dc8b4 Mon Sep 17 00:00:00 2001 From: Ben Toews Date: Wed, 10 May 2017 10:24:31 -0600 Subject: [PATCH] don't delete all registrations on startup --- SoftU2FTool/AppDelegate.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/SoftU2FTool/AppDelegate.swift b/SoftU2FTool/AppDelegate.swift index 13bb28a..0a5e760 100644 --- a/SoftU2FTool/AppDelegate.swift +++ b/SoftU2FTool/AppDelegate.swift @@ -11,13 +11,6 @@ import Cocoa @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { func applicationDidFinishLaunching(_ aNotification: Notification) { - // TODO: Remove this. - if U2FRegistration.deleteAll() { - print("Deleted all registrations") - } else { - print("Error deleting registrations") - } - if !U2FAuthenticator.start() { print("Error starting authenticator") }