mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Fix epp session test, now api_user honors active boolean correctly
This commit is contained in:
parent
061015e88a
commit
527bc2a0dc
4 changed files with 11 additions and 5 deletions
|
@ -20,7 +20,7 @@ class ApiUser < User
|
|||
after_initialize :set_defaults
|
||||
def set_defaults
|
||||
return unless new_record?
|
||||
self.active = true
|
||||
self.active = true unless active_changed?
|
||||
end
|
||||
|
||||
def registrar_typeahead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue