diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index b0c75c2f914c9dbd1702171ad7f35178b9207ef5..2ffbaa5551b96f86fa366c95fed1debdd6298309 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -27,7 +27,7 @@ input_html: { autocomplete: "new-password" } %> <%= f.input :picture, as: :single_deletable_file, - input_html: { accept: '.png,.jpg' } %> + input_html: { accept: '.jpg,.jpeg,.png' } %> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <p><%= t(".currently_waiting_confirmation_for_email", email: resource.unconfirmed_email) %></p> <% end %> diff --git a/config/environments/development.rb b/config/environments/development.rb index 883c18c4d078b98be7553bfc77c7b60065bdf0e5..bea91d402e99d93c8001665b20b9d155c3d18a43 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -33,7 +33,7 @@ Rails.application.configure do end # Store uploaded files on the local file system (see config/storage.yml for options). - config.active_storage.service = :local + config.active_storage.service = :scaleway # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false