hotosm / osm-tasking-manager2

Designed and built for Humanitarian OpenStreetMap Team collaborative emergency/disaster mapping, the OSM Tasking Manager 2.0 divides an area into individual squares that can be rapidly mapped by thousands of volunteers.
http://tasks.hotosm.org
Other
425 stars 156 forks source link

Use bitwize comparison for the first logged user #965

Closed pgiraud closed 7 years ago

pgiraud commented 7 years ago

When starting from an empty database, the application is supposed to automatically give admin privileges to the first logged in user. This has been broken recently. The current pull request fixes this.