mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
make test email not require login
This commit is contained in:
parent
1b564ab7de
commit
a7164d86fa
1 changed files with 0 additions and 1 deletions
|
@ -453,7 +453,6 @@ def test():
|
|||
|
||||
|
||||
@bp.route('/test_email')
|
||||
@login_required
|
||||
def test_email():
|
||||
send_email('This is a test email', f'{g.site.name} <{current_app.config["MAIL_FROM"]}>', [current_user.email],
|
||||
'This is a test email. If you received this, email sending is working!',
|
||||
|
|
Loading…
Add table
Reference in a new issue