Laravel5.2 adds new admin user verification, and a jump error occurs after successful registration!
習慣沉默
習慣沉默 2017-05-16 16:51:01
0
2
463
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?

習慣沉默
習慣沉默

reply all(2)
迷茫

Error coming from login in auth routing set?

给我你的怀抱

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']); 
    });
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template