We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba4ca3 commit d116c38Copy full SHA for d116c38
apps/files_sharing/src/mixins/SharesMixin.js
@@ -170,8 +170,8 @@ export default {
170
if (this.passwordProtectedState !== undefined) {
171
return this.passwordProtectedState
172
}
173
- return this.share.newPassword !== undefined
174
- || this.share.password !== undefined
+ return typeof this.share.newPassword === 'string'
+ || typeof this.share.password === 'string'
175
},
176
async set(enabled) {
177
if (enabled) {
0 commit comments