Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Update user in DB
Browse files Browse the repository at this point in the history
  • Loading branch information
nasli committed Aug 3, 2017
1 parent 9ce22db commit 235fbcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Owncloud iOs Client/Branding/Customization.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
#define k_hide_url_server NO

//Set a default url server. It must be obligatory if we hide the url server (#define k_hide_url_server YES)
#define k_default_url_server @"http://docker.oc.solidgear.es:56459"
#define k_default_url_server @""

//force override existing accounts with k_default_url_server. It must be obligatory if we change authentication type (k_is_sso_active)
#define k_force_update_of_server_url YES
#define k_force_update_of_server_url NO

//Show multiaccount or disconnect
#define k_multiaccount_available YES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ import Foundation

user.credDto = credDto.copy() as! CredentialsDto

ManageUsersDB.updateUser(by: user)

OCKeychain.updateCredentials(ofUser: user)

if user.activeaccount {
Expand Down

0 comments on commit 235fbcd

Please sign in to comment.