Sunday, March 5, 2017

laravel make auth didn't work online

I have a problem with laravel make:auth ( login system ) , It's working fine at local server , but online it's not !! its back null and didn't login just register new users , and it's don't show the wrong messages like ( match passwords ), even it's works local . and here's my website online : http://www.premiumcaregold.com/

and here's my route file which i think the wrong from it

    Route::get('/', function () {
    return view('welcome');
});
Route::auth();

Route::get('/home', 'HomeController@index');
Route::group(['middleware' => ['web']], function () {
 Route::get('/',  'PostsController@homeblad');
    Route::get('/{locale}',  'PostsController@home');
    Route::post('subscribe', 'NewsletterController@subscribe');
    Route::get('about-us/{locale}','AboutController@about');
      Route::get('contact-us/{locale}','ContactController@contact'); 
     Route::get('lang/{lang}','LanguageController@switchLang');
     Route::get('articles/{category_id}/{locale}','PostsController@allPosts');
     Route::get('single-product/{id}/{locale}', 'ProductsController@showProduct');
     Route::get('single-article/{id}/{locale}', 'PostsController@showPost');
     Route::get('/Products/{locale}', 'ProductsController@showallProduct');
     /*** for social login **/
Route::get('/redirect', 'SocialAuthController@redirect');
Route::get('/callback', 'SocialAuthController@callback');
});

Please i need help it's make me carzy and didn't understand where's the wrong thing .



via Dina Shaldoum

Advertisement