Commit 19c98d90 authored by Thomas Markiewicz's avatar Thomas Markiewicz

Reverted to using a preset for logging in

parent 46ef788a
......@@ -307,7 +307,7 @@ class LoginViewController: AutolayoutViewController, WelcomeChild {
let credentials = Credentials(username: username, password: password, email: email)
let request = LoginRequest(credentials: credentials)
Client.providers.accountProvider.login(with: request) { (user, error) in
preset?.accountProvider.login(with: request) { (user, error) in
self.enableInteractions(true)
self.hideLoadingAnimation()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment