Project

General

Profile

Bug #17334

Password criteria - show message (Your password cannot contain your username) but accept anyway

Added by Marek Hulán over 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1394798

Description of problem:
In my test, I just create one user virtwho and defined the password as virtwho00, in the Password row we can see the message below

Password - Your password cannot contain your username

and in the Verify row

Verify - password match

But after submit, we can see the password was accepted.

Version-Release number of selected component (if applicable):
6.2.4 / Current foreman nightly

How reproducible:
100%

Steps to Reproduce:
1. Create new user
2. Define the password with the username as part of password
3. Click on Submit

Actual results:
Ignored validation message is being displayed

Expected results:
Message Your password cannot contain your username is not being displayed.

Additional info:
I changed the expected results in compare to original BZ report after short discussion with others. I updated the BZ too.

Associated revisions

Revision 64601c8a (diff)
Added by Marek Hulán over 2 years ago

Fixes #17334 - change password strength messages to imply warning

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/4021 added

#2 Updated by Marek Hulán over 2 years ago

  • Subject changed from Password criteria - show message (Your password cannot contain your username) but accept anyway to Password criteria - show message (Your password cannot contain your username) but accept anyway
  • Category changed from Authorization to Web Interface

#3 Updated by Anonymous over 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 2 years ago

  • Legacy Backlogs Release (now unused) set to 189

Also available in: Atom PDF