app: retain user email on sign-in error

This commit is contained in:
Pierre de La Morinerie 2021-04-15 17:14:50 +02:00
parent 8640770a15
commit fffb85987c
3 changed files with 6 additions and 3 deletions

View file

@ -2,7 +2,7 @@
.auth-form.sign-in-form
= form_for User.new, url: user_session_path, html: { class: "form" } do |f|
= form_for resource, url: user_session_path, html: { class: "form" } do |f|
%h1.huge-title= t('views.sessions.new.title')
= render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }