mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
fix(files_sharing): do not check password checkbox by default
The checkbox appears checked when no password is set (share.password === undefined) Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
This commit is contained in:
parent
4c3ad2eea8
commit
eaaa9070ed
5 changed files with 7 additions and 7 deletions
|
|
@ -165,7 +165,7 @@ export default {
|
|||
isPasswordProtected: {
|
||||
get() {
|
||||
return this.config.enforcePasswordForPublicLink
|
||||
|| this.share.password !== ''
|
||||
|| this.share.password !== undefined
|
||||
|| this.share.newPassword !== undefined
|
||||
},
|
||||
async set(enabled) {
|
||||
|
|
|
|||
4
dist/6894-6894.js
vendored
4
dist/6894-6894.js
vendored
File diff suppressed because one or more lines are too long
2
dist/6894-6894.js.map
vendored
2
dist/6894-6894.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue