public function selectTypeOfPassword()
    {
        $choice = null;

        while(! in_array($choice, [1, 2])) {
            $this->info('Please make a selection regarding the password:');
            $this->info('[1] Input your own password');
            $this->info('[2] Have a password generated for you');
            $choice = $this->ask('Please make a selection');

            if ($choice == 1) {
                return $this->askForNewPassword();
            }
            if ($choice == 2) {
                return $this->generatePassword();
            }
        }
    }