Browse Source

[IMP] change password from char to text to be able to store ssh keys

pull/1295/head
Cédric Pigeon 7 years ago
parent
commit
da2e1bd3f5
  1. 4
      keychain/models/keychain.py

4
keychain/models/keychain.py

@ -48,12 +48,12 @@ class KeychainAccount(models.Model):
help="'prod', 'dev', etc. or empty (for all)"
)
login = fields.Char(help="Login")
clear_password = fields.Char(
clear_password = fields.Text(
help="Password. Leave empty if no changes",
inverse='_inverse_set_password',
compute='_compute_password',
store=False)
password = fields.Char(
password = fields.Text(
help="Password is derived from clear_password",
readonly=True)
data = fields.Text(help="Additionnal data as json")

Loading…
Cancel
Save