public function stepTwo() { Session::set('username', $_POST['username']); Session::set('email', $_POST['email']); Session::set('password', \Libs\Password::create($_POST['password'])); $this->view->render('register/step_two'); }
function testIncorrectPassword() { $password = Password::create('someThing'); $this->assertFalse(Password::verify('someThingElse', $password)); }