When editing the site text, I discovered: user_notifications.admin_login.text_body_template
When is this triggered at all? The default body template is:
Somebody asked to log in to your account on %{site_name} .
If you did not make this request, you can safely ignore this email.
Click the following link to log in:
%{base_url}/session/email-login/%{email_token}
לייק 1
You can edit email templates via your site’s email settings. Here’s the direct link:
https://yoursite/admin/email/templates/user_notifications.admin_login
כך גיליתי את זה.
השאלה שלי היא איך נוצר ההודעה האלקטרונית תחילה?
Oh I see what you mean. Sorry I misunderstood.
That email is sent when you log in using the "Skip the password; email me a login link: method.
I think that specific one (user_notifications.admin_login.text_body_template) is triggered from logging in on the /u/admin-login page.
לייק 1
אתה צודק! בדקתי את ההתחברות באמצעות דוא"ל רגיל אך לא שמתי לב שזה אומר “הנה הקישור שלך להתחבר ב..” במקום “מישהו שאל..” אחרת זה כמעט אותו דבר.
לייק 1
מתי מנהל מערכת יישמש אפשרות זו לעומת כפתור ההתחברות הרגיל?
שאלה טובה יותר עשויה להיות, האפשרות להיכנס בדרך זו קיימת מסיבות, למה?
2 לייקים
The /u/admin-login is often referred to as an admin ‘backdoor’. It’s one of the tools that can be used when a misconfiguration has blocked normal login. I think I’ve seen it most used for SSO snafus.
The checkbox to enable safe mode at the same time is also quite handy.
2 לייקים
system
(system)
נסגר ב־
21 ביוני, 2025, 5:06am
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.