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