aha-oida / aha-secret

Share secrets encrypted
GNU General Public License v3.0
4 stars 0 forks source link

Enable authenticity_token #64

Closed arusa closed 5 months ago

arusa commented 6 months ago

Not yet ready. authenticity_token is enabled, but now everything is forbidden (even the start page)

Docs:

arusa commented 6 months ago

We need to add options to configure authenticity_token and update the form. Maybe we also need CSRF for json? https://sinatrarb.com/protection/json_csrf https://github.com/sinatra/sinatra/blob/main/rack-protection/lib/rack/protection/json_csrf.rb