Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page blanche à l'inscription #109

Open
clairezed opened this issue Feb 27, 2019 · 0 comments
Open

Page blanche à l'inscription #109

clairezed opened this issue Feb 27, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@clairezed
Copy link
Collaborator

Description du bug

Dans la page « S’enregistrer », on remplis le formulaire puis en validant on atterris sur une page blanche. Cela a été testé sur different postes.

Identification de l'origine du bug
Les logs indiquent, pour l'utilisateur Sandrine, que le bug s'origine dans le système de honeypot de consul (sur le champs family_name) et l'autofill de google chrome :

I, [2019-02-19T17:39:29.615769 #1576]  INFO -- : Started POST "/users" for 176.149.145.187 at 2019-02-19 17:39:29 +0100
I, [2019-02-19T17:39:29.618056 #1576]  INFO -- : Processing by Users::RegistrationsController#create as HTML
I, [2019-02-19T17:39:29.618126 #1576]  INFO -- :   Parameters: {"utf8"=>"✓", "authenticity_token"=>"D+9KAYLsxtXlIajpwDmWXG/ziTinyFwkYtC88lJgYEP93UP+B2v7p/OOuU5RM/onyV6ABmdEOx/nIhM2sz5aKQ==", "user"=>{"use_redeemable_code"=>"", "locale"=>"fr", "lastname"=>"kamal", "firstname"=>"kamal", "username"=>"Sandsamp", "family_name"=>"Sampietro", "date_of_birth(3i)"=>"3", "date_of_birth(2i)"=>"1", "date_of_birth(1i)"=>"2000", "gender"=>"", "address"=>"Allée raymond courrière", "postal_code"=>"11855", "city"=>"carcassonne cedex 9", "phone_number"=>"468116306", "email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "ca_wanabee"=>"1", "terms_of_service"=>"1"}, "commit"=>"S'enregistrer"}
I, [2019-02-19T17:39:29.619266 #1576]  INFO -- : Filter chain halted as #<Proc:0x00000007d2eec8@/home/deploy/www/cdj_aude/shared/bundle/ruby/2.3.0/gems/invisible_captcha-0.10.0/lib/invisible_captcha/controller_ext.rb:6> rendered or redirected

Ce qui a été fait pour résoudre le bug
Ajout de autocomplete: off sur le champs family_name du formulaire d'inscription pour éviter que les navigateurs le remplissent automatiquement.

Cf e88bce0

@clairezed clairezed added the bug Something isn't working label Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant