File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed
Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { createApp } from 'vue';
33import App from './vue/App.vue' ;
44import { router } from './router' ;
55
6- const appElement = document . getElementById ( 'vue-app' ) || document . getElementById ( 'vue-subscribers' ) ;
6+ const appElement = document . getElementById ( 'vue-app' ) ;
77
88if ( appElement ) {
99 const app = createApp ( App ) ;
Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ public function __construct(AuthClient $apiClient)
2020 #[Route('/ ' , name: 'home ' , methods: ['GET ' ])]
2121 public function index (Request $ request ): Response
2222 {
23- // if (!$request->getSession()->has('auth_token')) {
24- // return $this->redirectToRoute('login');
25- // }
26-
27- return $ this ->render ('dashboard/index.html.twig ' , [
28- ]);
23+ return $ this ->render ('dashboard/index.html.twig ' );
2924 }
3025}
Original file line number Diff line number Diff line change 33{% block title %}phpList - Subscribers{% endblock %}
44
55{% block body %}
6- <div id =" vue-subscribers " ></div >
6+ <div id =" vue-app " ></div >
77{% endblock %}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function testLoginPageFormFieldsAreVisible(): void
3030
3131 $ this ->assertSelectorExists ('input[name="username"] ' );
3232 $ this ->assertSelectorExists ('input[name="password"] ' );
33- $ this ->assertSelectorTextContains ('label[for="username"] ' , 'Username ' );
33+ $ this ->assertSelectorTextContains ('label[for="username"] ' , 'Login ' );
3434 $ this ->assertSelectorTextContains ('label[for="password"] ' , 'Password ' );
3535 $ this ->assertSelectorExists ('button[type="submit"] ' );
3636 $ this ->assertSelectorTextContains ('button[type="submit"] ' , 'Sign in ' );
You can’t perform that action at this time.
0 commit comments