Changeset View
Changeset View
Standalone View
Standalone View
src/app/Http/Controllers/API/SignupController.php
Show First 20 Lines • Show All 326 Lines • ▼ Show 20 Lines | public function signup(Request $request) | ||||
// Remove the verification code | // Remove the verification code | ||||
if ($this->code) { | if ($this->code) { | ||||
$this->code->delete(); | $this->code->delete(); | ||||
} | } | ||||
DB::commit(); | DB::commit(); | ||||
return AuthController::logonResponse($user); | return AuthController::logonResponse($user, $request->password); | ||||
} | } | ||||
/** | /** | ||||
* Returns plan for the signup process | * Returns plan for the signup process | ||||
* | * | ||||
* @returns \App\Plan Plan object selected for current signup process | * @returns \App\Plan Plan object selected for current signup process | ||||
*/ | */ | ||||
protected function getPlan() | protected function getPlan() | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |