mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 07:56:19 +00:00
Fix password not updated when sharing via public link
This commit is contained in:
parent
1632b237ff
commit
daf49d289b
@ -116,6 +116,10 @@ class UpdateRemoteShareOperation
|
||||
formBodyBuilder.add(PARAM_NAME, name!!)
|
||||
}
|
||||
|
||||
if (password != null) {
|
||||
formBodyBuilder.add(PARAM_PASSWORD, password!!)
|
||||
}
|
||||
|
||||
if (expirationDateInMillis < INITIAL_EXPIRATION_DATE_IN_MILLIS) {
|
||||
// clear expiration date
|
||||
formBodyBuilder.add(PARAM_EXPIRATION_DATE, "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user