- Added a new blueprint for password recovery (`05-ulti-recovery.yaml`) to facilitate user password reset via email. - Introduced a new API handler for managing Authentik flow sessions, including starting and responding to flows. - Implemented flow session management with in-memory storage for tracking user sessions during the recovery process. - Enhanced error handling for flow session operations and added unit tests for the new functionalities. - Updated README to include the new recovery flow in the Authentik blueprints documentation.
9 lines
181 B
Go
9 lines
181 B
Go
package authentik
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrFlowSessionNotFound = errors.New("flow session not found")
|
|
ErrFlowSessionSlugMismatch = errors.New("flow session slug mismatch")
|
|
)
|