[openstreetmap/openstreetmap-website] Creating new local user accoding to CONFIGURE.md fails (#1695)

mmd notifications at github.com
Mon Dec 4 19:49:07 UTC 2017


Local installation on http://localhost:3000, trying to register a new user according to https://github.com/openstreetmap/openstreetmap-website/blob/master/CONFIGURE.md#managing-users :

> If you create a user by signing up to your local website, you need to confirm the user before you can log in, which normally happens by clicking a link sent via email. If don't want to set up your development box to send emails to public email addresses then you can create the user as normal and then confirm it manually through the Rails console

Step 1: http://localhost:3000/user/new, Enter new user data, confirm --> ok
Step 2: Redirected to http://localhost:3000/user/terms, Accept conditions, etc. --> ok
Step 3: Redirected to http://localhost:3000/user/save --> fail

![grafik](https://user-images.githubusercontent.com/5842757/33572334-e9be068e-d932-11e7-9fe7-c742a208df20.png)

app/controllers/user_controller.rb:77:in `save'
config/initializers/cors.rb:9:in `call'

Server is running in dev mode:

```
bundle exec rails server
=> Booting Puma
=> Rails 5.1.4 application starting in development 
=> Run `rails server -h` for more startup options
svgo worker: `svgo` not found; please provide proper binary or disable this worker (--no-svgo argument or `:svgo => false` through options)
Puma starting in single mode...
* Version 3.11.0 (ruby 2.3.1-p112), codename: Love Song
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
```


Code in question has been last touched in 41000078b9e0131d75ce610f148655fb7b32da73, maybe that's related?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1695
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171204/43c5ef36/attachment.html>


More information about the rails-dev mailing list