     
     public func appWillEnterForegroundHandler(notification: NSNotification) {
         
-        authenticateWithBiometrics()
+        if passcodeConfiguration.shouldRequestTouchIDImmediately {
+            authenticateWithBiometrics()
+        }
     }
     
     public func appDidEnterBackgroundHandler(notification: NSNotification) {

    public override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        
        if shouldTryToAuthenticateWithBiometrics {
        
            authenticateWithBiometrics()
        }

        passcodeLock.authenticateWithBiometrics()
    }
    
    public func authenticateWithBiometrics() {
        
        if passcodeLock.isTouchIDAllowed {
            
            passcodeLock.authenticateWithBiometrics()
        }
