diff --git a/app/controllers/web/home.php b/app/controllers/web/home.php index a20f2e5c8f..0871e8c252 100644 --- a/app/controllers/web/home.php +++ b/app/controllers/web/home.php @@ -109,12 +109,12 @@ $utopia->get('/auth/recovery/reset') }); -$utopia->get('/auth/success') +$utopia->get('/auth/oauth2/success') ->desc('Registration page') ->label('permission', 'public') ->label('scope', 'home') ->action(function () use ($layout) { - $page = new View(__DIR__.'/../../views/home/auth/success.phtml'); + $page = new View(__DIR__.'/../../views/home/auth/oauth2.phtml'); $layout ->setParam('title', APP_NAME) @@ -124,12 +124,12 @@ $utopia->get('/auth/success') ; }); -$utopia->get('/auth/failure') +$utopia->get('/auth/oauth2/failure') ->desc('Registration page') ->label('permission', 'public') ->label('scope', 'home') ->action(function () use ($layout) { - $page = new View(__DIR__.'/../../views/home/auth/failure.phtml'); + $page = new View(__DIR__.'/../../views/home/auth/oauth2.phtml'); $layout ->setParam('title', APP_NAME) diff --git a/app/views/home/auth/failure.phtml b/app/views/home/auth/failure.phtml deleted file mode 100644 index 44fde152ae..0000000000 --- a/app/views/home/auth/failure.phtml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/views/home/auth/oauth2.phtml b/app/views/home/auth/oauth2.phtml new file mode 100644 index 0000000000..1ac00e7b58 --- /dev/null +++ b/app/views/home/auth/oauth2.phtml @@ -0,0 +1,13 @@ +
+ + +