fix otp-request
This commit is contained in:
@@ -74,10 +74,7 @@ class AuthController extends Controller
|
|||||||
// Send Whatsapp
|
// Send Whatsapp
|
||||||
}
|
}
|
||||||
|
|
||||||
return Helper::responseJson(data: [
|
return Helper::responseJson(message: 'OTP Terkirim');
|
||||||
'otp' => $user->otp,
|
|
||||||
'otp_valid_until' => $user->otp_created_at->addMinutes(config('linksehat.otp_valid_minutes'))
|
|
||||||
], message: 'OTP Terkirim');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function login(Request $request)
|
public function login(Request $request)
|
||||||
|
|||||||
Reference in New Issue
Block a user