Add arkose verify response details to custom attributes
This MR adds the arkose response details to the user's custom attributes
How to validate locally
- Go to rails console
rails c
- Update the failed_attempts to ensure the Arkose integration will be triggered
= User.last
User Load (1.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1 /*application:console,db_config_name:main,line:(pry):30:in `__pry__'*/
=> #<User id:104 @new_user2>
[31] pry(main)> user.failed_attempts = 4
=> 4
[32] pry(main)> user.save!
-
Go to the login page and sign-in
-
Sign in with an Admin user and go to the admin section
- go to the user's section
- Filter the user
- Check the custom attributes
Edited by Marcos Rocha