Model_Auth_User_Token::update PHP Method

update() public method

public update ( )
    public function update()
    {
        // Create a new token each time the token is saved
        $this->token = $this->create_token();
        return parent::save();
    }