Sha256: 4917ef0607073fdea635dd962c5b84c0e950aa37af92c11ffca14a6ca14699c5

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

= Documentation for Login Feature

The login feature implements a login page.  It's the most commonly
used feature.

== Auth Value Methods

login_additional_form_tags :: HTML fragment containing additional form
                              tags to use on the login form.
login_button :: The text to use for the login button.
login_error_flash :: The flash error to show for an unsuccesful login.
login_form_footer :: A message to display after the login form.
login_notice_flash :: The flash notice to show after successful login.
login_redirect :: Where to redirect after a sucessful login.
login_route :: The route to the login action.

== Auth Methods

after_login :: Run arbitrary code after a successful login.
after_login_failure :: Run arbitrary code after a login failure due to
                       an invalid password.
before_login :: Run arbitrary code after password has been checked, but
                before updating the session.
before_login_attempt :: Run arbitrary code after an account has been
                        located, but before the password has been checked.
before_login_route :: Run arbitrary code before handling a login route.
login_view :: The HTML to use for the login form.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rodauth-1.5.0 doc/login.rdoc
rodauth-1.4.0 doc/login.rdoc
rodauth-1.3.0 doc/login.rdoc
rodauth-1.2.0 doc/login.rdoc
rodauth-1.1.0 doc/login.rdoc
rodauth-1.0.0 doc/login.rdoc