Update Register.php

//you had $this->type = 1, I changed it to $this->type = 2
Merge pull request #1 from glombardo3/patch-1

Update Register.php