mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Covered with tests api users and white ips
This commit is contained in:
parent
9cbf9f88bf
commit
a4d28a0ee2
14 changed files with 618 additions and 4 deletions
|
@ -61,7 +61,7 @@ module Repp
|
|||
private
|
||||
|
||||
def api_user_params
|
||||
params.require(:api_user).permit(:id, :username, :plain_text_password, :active,
|
||||
params.require(:api_user).permit(:username, :plain_text_password, :active,
|
||||
:identity_code, { roles: [] })
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue