Multipass - CSRF token

Hello,

I am new to caddy and am trying to test out multipass. When I go to localhost:8081/multipass, I get the multipass submit screen to submit in my handle. When I type in the email address that I specified in handles line of the Caddyfile, I get the error,

Sorry, your CSRF token is invalid

Could anyone point me in the right direction on how to proceed?

Many thanks,

Marc

I see you opened an issue on the plugin’s repo with your question; that’s good, I’d also recommend saying what you’ve tried, what your Caddyfile looks like, etc.

Caddyfile is below:

localhost:8081 {

bind 127.0.0.1
tls off
root /home/marc/CaddyServer

errors {
    log error.log
    }

fastcgi / 127.0.0.1:9000 {
		ext  .php
    }

multipass {
    resources /forms
    handles joe@example.com
	basepath /multipass
	expires 24h
    smtp_server smtp.gmail.com:  <--- (tried both 465 and 587)
    smtp_user user1@gmail.com
    smtp_pass 123456
    mail_from "Multipass <user1@gmail.com>"
}


log stdout
}

Tx.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.