Password score functionality doesn't work in front end

Description

Two reasons:

1. It tries to use presideJQuery or jQuery, which is fine if looged in to admin and presideJQuery is defined, but if not then the whole script fails.

2. The script uses the buildLink() JS function to build the score checker link. This is only available if logged in as admin.

Solutions:

1. Do a better check for which version of jQuery is available to use.

2. Build the link in the page and expose it via the cfrequest scope.

Environment

None

Status

Assignee

Seb Duggan

Reporter

Seb Duggan

Labels

None

Accepted

Yes

Fix versions

Affects versions

Priority

Medium
Configure