I think this setting can be handled from your IDP side in the application.

On Mon, Aug 24, 2020, 5:46 PM Kamakshi Aggarwal <kamakshi23...@gmail.com>
wrote:

> Hi,
>
> We are using django application in our company. We are using
> RemoteUserAuthentication for that(single sign on). Only employees can sign
> in.
>  Once employee signs in,is_active filed is set to True by default in
> auth_user table.
>
> Now if user leaves the company how should I set "is_active" field to False.
>
> Thanks
> Kamakshi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAK5yVtWjyate%2BNuzv58yq-%2Bo9Kd5wju%3DKVP7iBUOSCGc7YSsw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAAK5yVtWjyate%2BNuzv58yq-%2Bo9Kd5wju%3DKVP7iBUOSCGc7YSsw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJqzuMGHAvTGfMOFDt%3Dq3wtmJBeTCKL1Ui31vkDsga5ggobuJA%40mail.gmail.com.

Reply via email to