RainLab\User\Models\Settings::getLoginAttributeOptions PHP Method

getLoginAttributeOptions() public method

    public function getLoginAttributeOptions()
    {
        return [self::LOGIN_EMAIL => ['rainlab.user::lang.login.attribute_email'], self::LOGIN_USERNAME => ['rainlab.user::lang.login.attribute_username']];
    }