Airship\Engine\Security\Authentication::setUsernameField PHP Method

setUsernameField() public method

Sets the column name used to reference the user selector, for SQL queries.
public setUsernameField ( string $field ) : self
$field string
return self ($this)
    public function setUsernameField(string $field) : self
    {
        $this->tableConfig['field']['accounts']['username'] = $field;
        return $this;
    }