Permalink
Browse files

Fixed login functionality

  • Loading branch information...
Miggets7 committed Jan 7, 2018
1 parent edd4766 commit 30aa78e3be960d5672591318ab95d425d8eb6752
Showing with 4 additions and 2 deletions.
  1. +1 −1 console/iOS/ORLib/ORLib.podspec
  2. +3 −1 console/iOS/ORLib/ORLib/ORLoginViewController.swift
@@ -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 }
@@ -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()
})
}
}

0 comments on commit 30aa78e

Please sign in to comment.