mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-25 21:00:18 +00:00
f92c3dd403
* Make web archive integration opt-in * Add toast message about web archive integration opt-in * Improve wording for web archive setting * Add toast admin * Fix toast clear button visited styles * Add test for redirect * Improve wording * Ensure redirects to same domain * Improve wording * Fix snapshot test Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
8 lines
255 B
Python
8 lines
255 B
Python
from django.contrib.auth import user_logged_in
|
|
from django.dispatch import receiver
|
|
from bookmarks.services import tasks
|
|
|
|
|
|
@receiver(user_logged_in)
|
|
def user_logged_in(sender, request, user, **kwargs):
|
|
tasks.schedule_bookmarks_without_snapshots(user)
|