search

Home  >  Q&A  >  body text

Laravel5.2 adds new admin user verification, and a jump error occurs after successful registration!

adm.aaa.com 网页无法正常运作

adm.aaa.com 将您重定向的次数过多。
尝试清除 Cookie.
ERR_TOO_MANY_REDIRECTS

I can currently register, and I have seen the registered data in the table, but after registration, the jump shows the above error. I wonder if any friend has encountered the corresponding problem, can you give me some tips?

習慣沉默習慣沉默2749 days ago466

reply all(2)I'll reply

  • 迷茫

    迷茫2017-05-16 16:53:01

    Error coming from login in auth routing set?

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-16 16:53:01

    Friends upstairs, here is my route

    Route::group(['domain' => 'adm.aaa.com', 'middleware' => 'web'], function () { 
    
        Route::get('/login', 'Auth\Admin\AuthController@showLoginForm');
        Route::post('/login', 'Auth\Admin\AuthController@login');
        Route::get('/logout', 'Auth\Admin\AuthController@logout');
    
        Route::get('/register', 'Auth\Admin\AuthController@showRegistrationForm');
        Route::post('/register', 'Auth\Admin\AuthController@register');
    
        Route::get('/password/reset/{token?}', 'Auth\Admin\PasswordController@showResetForm');
        Route::post('/password/email', 'Auth\Admin\PasswordController@sendResetLinkEmail');
        Route::post('/password/reset', 'Auth\Admin\PasswordController@reset');
    
    
    
        Route::group(['middleware' => ['auth']], function () {
            Route::get('/',['as'=>'adm.index','uses'=>'Web\U\Admin\Index@index']); 
        });
    

    reply
    0
  • Cancelreply