Remove hardcoded Zoho credentials - now users input credentials through frontend

This commit is contained in:
Iyeoluwa Akinrinola
2025-07-25 11:58:57 +01:00
parent 6dc5773943
commit 75c447fe03
4 changed files with 44 additions and 8 deletions
+14
View File
@@ -30,6 +30,20 @@
<div class="form-text">The email address that will be checked for new messages.</div>
</div>
<div class="mb-3">
<label for="zoho_email" class="form-label">Zoho Email Address</label>
<input type="email" class="form-control" id="zoho_email" name="zoho_email"
value="{{ config.zoho_email }}" required>
<div class="form-text">Your Zoho email address for IMAP access.</div>
</div>
<div class="mb-3">
<label for="zoho_app_password" class="form-label">Zoho App Password</label>
<input type="password" class="form-control" id="zoho_app_password" name="zoho_app_password"
value="{{ config.zoho_app_password }}" required>
<div class="form-text">App password for Zoho IMAP access (not your regular password).</div>
</div>
<div class="mb-3">
<label for="email_days_back" class="form-label">Email Range (Days)</label>
<input type="number" class="form-control" id="email_days_back" name="email_days_back"