Adds validate :public_key_must_be_unique to AuthorizedKey which checks to see if...
authorPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 16 Jan 2014 22:07:46 +0000 (17:07 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 16 Jan 2014 22:07:46 +0000 (17:07 -0500)
commit09898bcec15c30328ae9e720e9a0c7be1595a004
treea69485f406cf40a2690b43cf82e21ef78d441a7b
parent7ad430f157028a8f8ab52c6f17c4864ada271667
Adds validate :public_key_must_be_unique to AuthorizedKey which checks to see if the key
a) looks like a ssh-rsa key
b) that the key isn't already in the table
services/api/app/models/authorized_key.rb