ZoonkWeb.UserSessionController (Zoonk v0.1.0-dev)

View Source

Handles user sessions.

Provides actions for logging in users via an OTP code and logging out users.

Summary

Functions

Logs in a user.

Logs out a user.

Functions

create(conn, map)

Logs in a user.

The user is redirected to the home page upon successful authentication or to the login page with an error message.

This controller is also used for confirming a user.

delete(conn, params)

Logs out a user.