-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MID-6271 password-score/bootstrap-strength-meter somehow imported, he…
…lper console.info() removed
- Loading branch information
Showing
5 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
17 changes: 9 additions & 8 deletions
17
gui/admin-gui/src/frontend/js/bootstrap-strength-meter/bootstrap-strength-meter-options.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
const strengthMeterOptions = [ | ||
{ | ||
'type': 'dictionary', | ||
'leet': false, | ||
'key': 'en', | ||
'dictionary': {"5ecr3t": 1} | ||
} | ||
]; | ||
|
||
const strengthMeterOptions = [ | ||
{ | ||
'type': 'dictionary', | ||
'leet': false, | ||
'key': 'en', | ||
'dictionary': {"5ecr3t":1} | ||
} | ||
]; | ||
window.strengthMeterOptions = strengthMeterOptions; |
2 changes: 0 additions & 2 deletions
2
gui/admin-gui/src/frontend/js/password-score/password-score-options.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2022 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
|
||
// we've added global variable export using window.Score = Score; (at the end of the file) | ||
require("./password-score/password-score"); | ||
require("./password-score/password-score-options"); | ||
|
||
require("./bootstrap-strength-meter/bootstrap-strength-meter"); | ||
// we've added global variable export using window.strengthMeterOptions = strengthMeterOptions; (at the end of the file) | ||
require("./bootstrap-strength-meter/bootstrap-strength-meter-options"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters