Explorar el Código

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana hace 1 año
padre
commit
625fcaba89
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      iOSClient/AppDelegate.swift

+ 2 - 0
iOSClient/AppDelegate.swift

@@ -462,9 +462,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
 
         } else if openLoginWeb {
 
+            // Used also for reinsert the account (change passwd)
             if activeLoginWeb?.view.window == nil {
                 activeLoginWeb = UIStoryboard(name: "NCLogin", bundle: nil).instantiateViewController(withIdentifier: "NCLoginWeb") as? NCLoginWeb
                 activeLoginWeb?.urlBase = urlBase
+                activeLoginWeb?.user = user
                 showLoginViewController(activeLoginWeb, contextViewController: viewController)
             }