Project

General

Profile

Actions

Feature #7587

closed

Javascript validation of passwords on Edit User screen

Added by Dominic Cleal about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1145626
++ This bug was initially created as a clone of Bug #1145307 ++

Description of problem:
We don't do any validation or assisting around the creation of passwords on the Edit User page. They can enter passwords that don't match without knowing until they try to change it. There's no strength indicator either.

Version-Release number of selected component (if applicable):
foreman-installer-1.5.0-0.6.RC2.el6ost.noarch
rhel-osp-installer-0.1.10-2.el6ost.noarch
openstack-foreman-installer-2.0.20-1.el6ost.noarch

Additional info:

Actions #1

Updated by Dominic Cleal about 10 years ago

  • Category set to Web Interface
Actions #2

Updated by b sh about 10 years ago

There are two ways to do that: (1) Write our own Ruby validation method that checks the password strength, or (2) use an open source project, such as plugins.jquery.com/pwstrength-bootstrap/.

Personally, I prefer the latter one.

Actions #3

Updated by Ohad Levy about 10 years ago

b sh wrote:

There are two ways to do that: (1) Write our own Ruby validation method that checks the password strength, or (2) use an open source project, such as plugins.jquery.com/pwstrength-bootstrap/.

Personally, I prefer the latter one.

I tent to agree, but at the moment the url you sent above is not reachable.. :)

Actions #4

Updated by b sh about 10 years ago

Yeah, you're right. Well, anyway - that's its github repo:

https://github.com/ablanco/jquery.pwstrength.bootstrap

;-)

Actions #5

Updated by Ohad Levy about 10 years ago

b sh wrote:

Yeah, you're right. Well, anyway - that's its github repo:

https://github.com/ablanco/jquery.pwstrength.bootstrap

;-)

you probably want to consider something like a rails engine with the assets already, very quick googling showed https://github.com/Skizzk/jquery-pwstrength-bootstrap-rails

Actions #6

Updated by b sh about 10 years ago

Thanks!

Actions #7

Updated by Daniel Lobato Garcia about 10 years ago

  • Pull request https://github.com/theforeman/foreman/pull/1832 added
  • Pull request deleted ()
Actions #8

Updated by The Foreman Bot about 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.2
Actions #9

Updated by Vanya Jauhal about 10 years ago

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

Updated by Daniel Lobato Garcia about 10 years ago

  • Translation missing: en.field_release set to 21
Actions

Also available in: Atom PDF