Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Update to fix locking and the driver's handling of locking #13

Closed
wants to merge 2 commits into from
Closed

Update to fix locking and the driver's handling of locking #13

wants to merge 2 commits into from

Conversation

JesseObrien
Copy link

Fixes #12

Also adds a check into the user model to check the current object to see if the locked_at property is null or not.

@JesseObrien
Copy link
Author

Okay, cool. I have it working with that setup right now, I think mysql takes 0000-00-00 00:00:00 to be null in that instance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Destroy user session when locking account
1 participant