Comments (3)
Hey @tobias-graf-p ,
did you try with the PSM_CONFIG provider to give these options?
@NgModule({
...
imports: [
....
PasswordStrengthMeterModule.forRoot()
],
providers: [
{
provide: PSM_CONFIG,
useValue: {
translations: zxcvbnEnPackage.translations,
graphs: zxcvbnCommonPackage.adjacencyGraphs,
dictionary: {
...zxcvbnCommonPackage.dictionary,
...zxcvbnEnPackage.dictionary,
userInputs: ['[email protected]', 'someUsername'],
},
}
}
],
....
})
export class AppModule { }
from password-strength-meter.
@antoantonyk Thanks for your reply. Your suggestion would use the same values for all users, wouldn't it? But we would be able to pass the user-specific values whenever we check a password ...
Anyway, meanwhile we used zxcvbn-ts directly and implemented our own password strength meter. So it is not relevant for us anymore. If you like, you can close this issue.
from password-strength-meter.
@tobias-graf-p yes. you are right. We don't support per user. Glad you have found another solution
from password-strength-meter.
Related Issues (20)
- Remove hard dependency to zxcvbn modules HOT 1
- Must import into AppModule - error when importing into other modules. HOT 3
- Provide PasswordStrengthMeterService in root
- How to get rid of "not found" printing in console HOT 1
- Use different zxcvbn fork HOT 2
- Multiple feedback suggestion format issue HOT 1
- Feedback text in multiple Languages HOT 1
- zxcbn3 : tolowercase is not a function HOT 2
- Provide a way to use a different strength library HOT 1
- Angular 12 support? HOT 1
- Am I doing something wrong? HOT 4
- Angular 15 support HOT 2
- Need to Support Angular 15 HOT 6
- Angular 13 support HOT 2
- Please add accessibility aria-label and title property
- Publish Ivy distribution
- Angular 16 HOT 4
- Not work with latest version of zxcvbn-ts 3.x HOT 2
- Weirdness after update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from password-strength-meter.