Skip to content

Conversation

@nickvergessen
Copy link
Member

Ref #33110

Checklist

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen added this to the Nextcloud 26 milestone Jan 3, 2023
@nickvergessen nickvergessen requested a review from a team January 3, 2023 15:42
@nickvergessen nickvergessen self-assigned this Jan 3, 2023
@nickvergessen nickvergessen requested review from ArtificialOwl, PVince81, blizzz, come-nc and icewind1991 and removed request for a team January 3, 2023 15:42
@nickvergessen
Copy link
Member Author

/backport to stable25

$this->eventDispatcher->dispatchTyped(new BeforePasswordResetEvent($user, $password));
\OC_Hook::emit('\OC\Core\LostPassword\Controller\LostController', 'pre_passwordReset', ['uid' => $userId, 'password' => $password]);

if (strlen($password) > 469) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Magic number? We have no constant/config for this?

Copy link
Member Author

@nickvergessen nickvergessen Jan 3, 2023

Choose a reason for hiding this comment

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

Magic number for now due to upcoming release and necessary backport.
But yeah it yields for a const.

Scheduled myself a todo for next week

Choose a reason for hiding this comment

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

Looks good to me.
Is the issue fixed or can I collabrate to fix this issue?

Copy link
Member Author

Choose a reason for hiding this comment

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

PR at #35981

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81 PVince81 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jan 3, 2023
Copy link

@Aditya-Karbhari Aditya-Karbhari left a comment

Choose a reason for hiding this comment

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

New change in code is fine to me.👍

@nickvergessen nickvergessen merged commit ce50acd into master Jan 4, 2023
@nickvergessen nickvergessen deleted the bugfix/noid/limit-length-when-reseting-password branch January 4, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: users and groups

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants