Login via code: customise email template

I would like to have the code displayed in the subject of the email.

Is this possible? Where can i define the template?

While you can change the subject via a config settings, this won’t let you display the code.

An option you be to use a custom auth challenge:

Basically, you would copy the Email challenge with a different name and just change the subject.