diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index a8b07e9c72c73f2e173dbb0a61c9b40311c3b6e5..591d78c30b0195ca1ff87dad89555fd84077a403 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -24,7 +24,7 @@ <%= f.input :picture, as: :single_deletable_file, - input_html: { accept: '.png' } %> + input_html: { accept: '.jpg,.jpeg,.png' } %> <%= f.input :password, hint: t(".leave_blank_if_you_don_t_want_to_change_it"), 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