Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fixed login functionality

Michael Rademaker30aa78e3be96
diff --git a/console/iOS/ORLib/ORLib.podspec b/console/iOS/ORLib/ORLib.podspec
index 5c3685652..b92b51851 100644
--- a/console/iOS/ORLib/ORLib.podspec
+++ b/console/iOS/ORLib/ORLib.podspec
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.name = "ORLib"
s.summary = "The OpenRemote library to create console apps."
s.requires_arc = true
- s.version = '1.0.1'
+ s.version = '1.0.2'
s.authors = 'OpenRemote'
s.homepage = "http://www.openremote.com/community/"
s.source = { :git => 'https://github.com/openremote/openremote.git', :tag => s.version.to_s }
diff --git a/console/iOS/ORLib/ORLib/ORLoginViewController.swift b/console/iOS/ORLib/ORLib/ORLoginViewController.swift
index f5fa73bd0..1089eb8b5 100644
--- a/console/iOS/ORLib/ORLib/ORLoginViewController.swift
+++ b/console/iOS/ORLib/ORLib/ORLoginViewController.swift
@@ -58,7 +58,9 @@ open class ORLoginViewController: UIViewController {
// This is some leftover from the initial way the app was architected, must be eventually cleaned up
if (self.presentedViewController == nil) {
- self.present(orViewController, animated: true, completion: nil)
+ self.present(orViewController, animated: true, completion: {
+ self.orViewController.login()
+ })
}
}