def update_last_login(sender, user, **kwargs):
    user.last_login = datetime.datetime.now()
    user.save()
Test to shutdown a running system with no timeout or warning
dataset/ETHPy150Open aino/django-primate/primate/auth/helpers.py/update_last_login--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/win_system_test.py/WinSystemTestCase.test_shutdown_hard