Phauxth v0.9.0 Phauxth.Confirm.Base

Base module for handling user confirmation.

This is used by both the Phauxth.Confirm and Phauxth.Confirm.PassReset modules.

Custom confirmation modules

One example of a custom confirmation module is provided by the Phauxth.Confirm.PassReset module, which extends this base module to add the password reset functionality.

Summary

Functions

check_time(sent_at, valid_secs)
finalize(user, conn, user_id, ok_msg)