One Hat Cyber Team
Your IP :
3.147.78.249
Server IP :
103.133.214.160
Server :
Linux venus.ewebguru.net 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
Apache/2
PHP Version :
8.1.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
praval
/
public_html
/
active-ecommerce
/
routes
/
View File Name :
otp.php
<?php /* |-------------------------------------------------------------------------- | OTP Routes |-------------------------------------------------------------------------- | | Here is where you can register admin routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ use App\Http\Controllers\OTPVerificationController; use App\Http\Controllers\OTPController; use App\Http\Controllers\SmsController; use App\Http\Controllers\SmsTemplateController; //Verofocation phone Route::controller(OTPVerificationController::class)->group(function () { Route::get('/verification', 'verification')->name('verification'); Route::post('/verification', 'verify_phone')->name('verification.submit'); Route::get('/verification/phone/code/resend', 'resend_verificcation_code')->name('verification.phone.resend'); //Forgot password phone Route::get('/password/phone/reset', 'show_reset_password_form')->name('password.phone.form'); Route::post('/password/reset/submit', 'reset_password_with_code')->name('password.update.phone'); }); //Admin Route::group(['prefix' =>'admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(OTPController::class)->group(function () { Route::get('/otp-configuration', 'configure_index')->name('otp.configconfiguration'); Route::post('/otp-configuration/update/activation', 'updateActivationSettings')->name('otp_configurations.update.activation'); Route::post('/otp-credentials-update', 'update_credentials')->name('update_credentials'); }); //Messaging Route::controller(SmsController::class)->group(function () { Route::get('/sms', 'index')->name('sms.index'); Route::post('/sms-send', 'send')->name('sms.send'); }); Route::resource('sms-templates', SmsTemplateController::class); });