Commit 6621cf22 authored by Jose Blaya's avatar Jose Blaya
Browse files

Update authMigrationSuccess if token is valid

parent 9c765493
......@@ -188,6 +188,10 @@ class DefaultAccountProvider: AccountProvider, ConfigurationAccess, DatabaseAcce
self.webServices.token(credentials: user.credentials) { (token, error) in
if let token = token {
let preferences = Client.preferences.editable()
preferences.authMigrationSuccess = true
preferences.commit()
if force {
self.updateToken(token)
} else {
......
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