diff --git a/app/src/main/java/com/owncloud/android/ui/activity/SsoGrantPermissionViewModel.kt b/app/src/main/java/com/owncloud/android/ui/activity/SsoGrantPermissionViewModel.kt index 51ecf4cf014c7b89525b874704d920405e7dccdd..910825e396784b158a3126f556a7b1a157b76b85 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/SsoGrantPermissionViewModel.kt +++ b/app/src/main/java/com/owncloud/android/ui/activity/SsoGrantPermissionViewModel.kt @@ -91,7 +91,7 @@ class SsoGrantPermissionViewModel @Inject constructor( saveToken( token = token, - accountName = userId, + accountName = account.name, packageName = packageName!! )