Add password type to models and mirage (#3039)
* feat: 🎸 add new password type to cred models + mirage * test: 💍 fix * refactor: 💡 update target mirage trait * chore: 🤖 add missing attr type
This commit is contained in:
1 parent
2bf09011fb
commit
f39961bbf5
8 files changed
+39
-14
No files matched your search
@@ -59,9 +59,9 @@ export default class GeneratedCredentialModel extends BaseModel {
|
||||
})
|
||||
username;
|
||||
|
||||
// =attributes (username_password, username_password_domain)
|
||||
// =attributes (username_password, username_password_domain, password)
|
||||
@attr('string', {
|
||||
for: ['username_password', 'username_password_domain'],
|
||||
for: ['username_password', 'username_password_domain', 'password'],
|
||||
isNestedAttribute: true,
|
||||
isSecret: true,
|
||||
description: 'The password for credential.',
|
||||
|
||||
Reference in new issue
Block a user