Lucerne ยป Extensions

lucerne-auth

lucerne-auth is a contrib module for simple session authentication.

get-useridnil
Extract the user ID from the current session.
login(userid)
Log in the user specified by userid.
logoutnil
Log out the current user.
logged-in-pnil
Whether the user is logged in or not.