|
@@ -25,6 +25,7 @@ public class CCLoginWeb: UIViewController {
|
|
|
|
|
|
@objc weak var delegate: CCLoginDelegateWeb?
|
|
|
@objc var loginType = loginAdd
|
|
|
+ @objc var url = NCBrandOptions.sharedInstance.loginBaseUrl
|
|
|
|
|
|
var viewController : UIViewController?
|
|
|
let appDelegate = UIApplication.shared.delegate as! AppDelegate
|
|
@@ -38,7 +39,7 @@ public class CCLoginWeb: UIViewController {
|
|
|
doneButtonVisible = true
|
|
|
}
|
|
|
|
|
|
- let webVC = SwiftModalWebVC(urlString: NCBrandOptions.sharedInstance.loginBaseUrl, theme: .custom, color: NCBrandColor.sharedInstance.brand, colorText: NCBrandColor.sharedInstance.brandText, doneButtonVisible: doneButtonVisible, hideToolbar: true)
|
|
|
+ let webVC = SwiftModalWebVC(urlString: url, theme: .custom, color: NCBrandColor.sharedInstance.brand, colorText: NCBrandColor.sharedInstance.brandText, doneButtonVisible: doneButtonVisible, hideToolbar: true)
|
|
|
webVC.delegateWeb = self
|
|
|
|
|
|
vc.present(webVC, animated: false, completion: nil)
|