mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 05:13:10 -04:00
fix(sharing): ensure to check new password
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
5268be451e
commit
055a27f0fc
1 changed files with 1 additions and 1 deletions
|
|
@ -998,7 +998,7 @@ export default {
|
|||
this.share.note = ''
|
||||
}
|
||||
if (this.isPasswordProtected) {
|
||||
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.password)) {
|
||||
if (this.isPasswordEnforced && this.isNewShare && !this.isValidShareAttribute(this.share.newPassword)) {
|
||||
this.passwordError = true
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue