Closed distantnative closed 3 years ago
Yep, sounds good. I think we should move the site title logic from here to a method in Site
or System
:
https://github.com/getkirby/kirby/blob/b6cad90/config/api/models/System.php#L55-L61
Then we can use the same logic for the email text for password reset and login codes (both are affected the same way).
@lukasbestle sounds good, probably System::site()
could work well? Do you want to get onto it since you're also more familiar with all the email templates for those auth methods?
What about System::siteName()
? I think System::site()
is too unspecific.
Then it should be siteTitle
or even just title
I like System::title()
✅
Currently the email reads
I think most users won't know what Kirby is. So making it
sitename Panel
or something like this would be better.