Follow

Should I check the status of my users’ locks with Latch before authenticating them?

No, you should only call Latch after you've done your authorization checks. If a username and password is incorrect, you know its access is denied without the need of calling Latch. Only when you have done all your checks and you were about to let the users do whatever they were trying to do, at that last moment is when you call Latch to check if the operation is permitted at this moment in time.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk