Email sending address for 2FA and login methods

I am trying to set up the new login methods.

My Kirby installation is in a subfolder of the domain, /cms, and when I try use reset password forms etc. I get "noreply@domain.com/cms" is not a valid email address error message.

Where do I set the default sending email address so that it isn’t just the site root?

Setting email->transport->host, email->transport->from or email->transport->username in config.php don’t work for this. Couldn’t see anything else in the docs?

Oh, that’s an unfortunate bug. Looks like we didn’t test sites in subfolders of the domain with the feature. I have created an issue on GitHub and we will fix this in the core soon.

Until then, you can override the sender address with the auth.challenge.email.from option.