schmidt / redmine_zxcvbn

Redmine zxcvbn plugin
https://www.redmine.org/plugins/redmine_zxcvbn
GNU General Public License v3.0
5 stars 3 forks source link

plugin assets (javascript) should not be loaded on any page! #1

Closed tofi86 closed 7 years ago

tofi86 commented 7 years ago

The plugin javascript assets should not be loaded on any page, but only on the edit password page...

schmidt commented 7 years ago

Hi Tobias,

Since any plugin can add password fields to the Redmine UI, we've decided to always load a small part of the JS code - basically that part, that does the integration. The huge part - the zxcvbn library itself - is only loaded if needed.

See

Does this answer your request?

tofi86 commented 7 years ago

That sounds reasonable! Good idea!

I'm fine with that then... ;-)