Skip to content

Conversation

@kesselb
Copy link
Contributor

@kesselb kesselb commented Jul 8, 2025

Summary

While edgy, it also sounds reasonable to mask the password again when pressing the login button.

I’m curious if that way of altering the state of a component will make it through the code review, but we will see about it. Otherwise, I think we first need a change for PasswordField to pass hidePassword as a prop?

Checklist

@kesselb kesselb added this to the Nextcloud 32 milestone Jul 8, 2025
@kesselb kesselb requested review from skjnldsv and susnux July 8, 2025 14:43
@kesselb kesselb self-assigned this Jul 8, 2025
@kesselb kesselb requested review from a team as code owners July 8, 2025 14:43
@kesselb kesselb added the bug label Jul 8, 2025
@kesselb kesselb requested review from sorbaugh and removed request for a team July 8, 2025 14:43
@kesselb kesselb added the 3. to review Waiting for reviews label Jul 8, 2025
this.$emit('update:username', this.user)
},
submit(event) {
this.$refs.password.$data.isPasswordHidden = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using private internal state ($data) is very likely to break - or will even break with next version.
Instead the NcPasswordField probably should expose a setHidden(boolean) method.

@nextcloud-bot nextcloud-bot mentioned this pull request Aug 22, 2025
@kesselb kesselb added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Aug 22, 2025
@kesselb kesselb modified the milestones: Nextcloud 32, Nextcloud 33 Aug 22, 2025
@kesselb kesselb force-pushed the bug/53856/hide-password-on-submit branch from b7211f1 to dd2d3e4 Compare October 4, 2025 19:11
@kesselb kesselb added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 4, 2025
@kesselb
Copy link
Contributor Author

kesselb commented Oct 4, 2025

Updated to use nextcloud-libraries/nextcloud-vue#7135 🥳

@provokateurin
Copy link
Member

/compile rebase-amend

@nextcloud-command nextcloud-command force-pushed the bug/53856/hide-password-on-submit branch from dd2d3e4 to e0164e4 Compare October 7, 2025 16:37
@kesselb kesselb force-pushed the bug/53856/hide-password-on-submit branch from e0164e4 to ec1ea32 Compare October 7, 2025 17:37
@kesselb kesselb enabled auto-merge October 7, 2025 17:39
@kesselb kesselb disabled auto-merge October 7, 2025 18:07
@kesselb kesselb merged commit 38c9bd9 into master Oct 7, 2025
124 of 126 checks passed
@kesselb kesselb deleted the bug/53856/hide-password-on-submit branch October 7, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Login: Visible password might be shown too long on slow server response

5 participants