phylotastic / phylotastic-portal

Web tool (ruby on rails) providing access to phylotastic services for acquiring species trees.
https://github.com/phylotastic/phylotastic/wiki
1 stars 3 forks source link

bug in taxon sample by genome #309

Closed arlin closed 6 years ago

arlin commented 6 years ago

in dev

exception:

ActionController::InvalidAuthenticityToken in TaxonomiesController#create ActionController::InvalidAuthenticityToken Extracted source (around line #195): 193 194 def handle_unverified_request 195 raise ActionController::InvalidAuthenticityToken 196 end 197 end 198 end

ducvan0212 commented 6 years ago

The token used in dev and production is saved at the same cookies since both dev and production are in the same domain. The way to fix is separate dev and production in 2 different domains.

arlin commented 6 years ago

OK, closing this.