mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Enable certificate creating on api users
This commit is contained in:
parent
0f3c8ba944
commit
4f290bc9fe
2 changed files with 4 additions and 3 deletions
|
@ -9,7 +9,7 @@ class ApiUser < User
|
|||
validates :username, :password, :registrar, presence: true
|
||||
validates :username, uniqueness: true
|
||||
|
||||
# before_save :create_crt, if: -> (au) { au.csr_changed? }
|
||||
before_save :create_crt, if: -> (au) { au.csr_changed? }
|
||||
|
||||
attr_accessor :registrar_typeahead
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue