Monday, August 24, 2020

Re: How to reset is_active field of auth_user

Can you explain it more to me? Its not clear.

On Mon, 24 Aug 2020, 8:04 pm Amresh Giri, <amresh.giri14@gmail.com> wrote:
I think this setting can be handled from your IDP side in the application. 

On Mon, Aug 24, 2020, 5:46 PM Kamakshi Aggarwal <kamakshi23989@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+unsubscribe@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.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJqzuMGHAvTGfMOFDt%3Dq3wtmJBeTCKL1Ui31vkDsga5ggobuJA%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAK5yVuvGBEZCGkDNt8825sp%2BPKGezPE855ScLPt4Ltw%2B6J5Xw%40mail.gmail.com.

No comments:

Post a Comment