එසේම වේවා bro
Group Details
Linux-Help
Member List
-
RE: laravel redirect to wrong url after auth success
overide login function.
inside login controller (app/Http/Controllers/Auth/LoginController.php)
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; use Auth; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |-------------------------------------------------------------------------- | | This controller handles authenticating users for the application and | redirecting them to your home screen. The controller uses a trait | to conveniently provide its functionality to your applications. | */ use AuthenticatesUsers; /** * Where to redirect users after login. * * @var string */ protected $redirectTo = RouteServiceProvider::HOME; /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('guest')->except('logout'); } /** * Write code on Method * * @return response() */ public function login(Request $request) { $request->validate([ 'email' => 'required', 'password' => 'required', ]); $credentials = $request->only('email', 'password'); if (Auth::attempt($credentials)) { return redirect()->route('home'); } return redirect("login")->withSuccess('Oppes! You have entered invalid credentials'); } }
-
Driver booster 9.0 / 9.1 key
Driver Booster 9.0 & 9.1 activate key :)
7C22A-C0D9D-0D0D2-FFA49
-
RE: Share your knowledge and experience and win a t-shirt
Hello everyone
It’s happy to inform you that we have launched our online shop and new t-shirt for 2022
Please refer to the below link for placing orders.👇 -
RE: Lanka developers T-shirt 2022
OMG, so beautiful, i placed an order,
-
RE: Lanka developers T-shirt 2022
ohh man it's very nice, i'll order one
-
RE: Learn to use AWS Amplify Datastore with Flutter & GetX
great bro, keep it up
-
RE: Who wants to talk about Crypto || NFT
ohh nice man, we can have a crypto forum in sri lanka .
-
RE: Who wants to talk about Crypto || NFT
we are planing to start this as a opensource project you can contribute.