cloudlog/application/views/email/clublog_credentials_reset.php
Peter Goodhall 0c9c48779f Notify user on Clublog credential reset
When Clublog returns HTTP 403 (access denied), automatically clear the stored credentials and optionally send the user an email notification with context about the failure. Also sets a session flash warning when the affected user is logged in. Adds an email view template for the notification.
2026-08-02 22:32:50 +01:00

19 lines
626 B
PHP

Hi <?php echo $user_firstname; ?> <?php echo $user_lastname; ?>,
Your Cloudlog Clublog login credentials were automatically cleared after Clublog returned an authorization failure (HTTP 403).
Callsign: <?php echo $user_callsign; ?>
Username: <?php echo $user_name; ?>
<?php if (!empty($reset_context)) { ?>
Details: <?php echo $reset_context; ?>
<?php } ?>To continue Clublog uploads, please log in and re-enter your Clublog email and password in your account settings.
Log in here: <?php echo $base_url; ?>
If you did not expect this, please verify your Clublog account credentials and API access.
Regards,
Cloudlog.