Show More
@@ -826,7 +826,7 b' class UsersView(UserAppView):' | |||
|
826 | 826 | fingerprint = key.hash_md5() |
|
827 | 827 | |
|
828 | 828 | ssh_key = SshKeyModel().create( |
|
829 |
c.user.user_id, fingerprint, key |
|
|
829 | c.user.user_id, fingerprint, key.keydata, description) | |
|
830 | 830 | ssh_key_data = ssh_key.get_api_data() |
|
831 | 831 | |
|
832 | 832 | audit_logger.store_web( |
@@ -98,7 +98,7 b' class MyAccountSshKeysView(BaseAppView, ' | |||
|
98 | 98 | fingerprint = key.hash_md5() |
|
99 | 99 | |
|
100 | 100 | ssh_key = SshKeyModel().create( |
|
101 |
c.user.user_id, fingerprint, key |
|
|
101 | c.user.user_id, fingerprint, key.keydata, description) | |
|
102 | 102 | ssh_key_data = ssh_key.get_api_data() |
|
103 | 103 | |
|
104 | 104 | audit_logger.store_web( |
General Comments 0
You need to be logged in to leave comments.
Login now