plug_password v0.1.1 PlugPassword.Block
Plug used to add simple authentication.
Options should be provided with at least passwords field.
Link to this section Summary
Link to this section Functions
Link to this function
call(conn, options)
Checks if password is matching.
If password will match or is already set in cookie then it will continue to pipe connection. Otherwise it will render form.
Link to this function
init(options)