File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2828 ->name ('verification.send ' );
2929
3030Route::prefix ('register ' )->as ('register. ' )
31- ->withoutMiddleware (['modularity.panel ' , 'web.auth ' , 'modularity.core ' ])
3231 ->middleware (['web ' , 'modularity.core ' ])
32+ ->withoutMiddleware (['modularity.panel ' , 'web.auth ' ])
3333 ->group (function () {
3434
3535 Route::get ('/password/generate/{token} ' , 'PasswordController@showForm ' )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public function __construct(AuthFactory $authFactory)
2626 */
2727 public function handle ($ request , Closure $ next )
2828 {
29- if ($ request ->session ()->has ('impersonate ' )) {
29+ if ($ request ->hasSession () && $ request -> session ()->has ('impersonate ' )) {
3030 $ this ->authFactory ->guard (Modularity::getAuthGuardName ())->onceUsingId ($ request ->session ()->get ('impersonate ' ));
3131 }
3232
You can’t perform that action at this time.
0 commit comments