NAME
Interchange6::Schema::ResultSet::User
SYNOPSIS
Provides extra accessor methods for Interchange6::Schema::Result::User
METHODS
find
Override "find" in DBIx::Class::ResultSet for lookup of "username" in Interchange6::Schema::Result::User so that leading/trailing spaces are stripped from username and it is also lower-cased.
find_user_with_reset_token( $token );
Where $token is the combined <Interchange6::Schema::Result::User/reset_token> and <Interchange6::Schema::Result::User/reset_token_checksum> as would be returned by <Interchange6::Schema::Result::User/reset_token_generate>.
Returns an <Interchange6::Schema::Result::User> object if $token is found and is valid. On failure returns undef.