Force new users to create a new password


This code snippet forces a new created user to change his password on first login. As long as the password is not changed, the user only has access to his profile page, it is not possible to access anything else inside the admin area.

Short URL to this page: