Skip to content

Commit ad7d78b

Browse files
authored
Merge pull request #64 from hw-rjuzak/master
use %shopware_administration.path_name% instead for hardcoded admin
2 parents ed518d2 + e34a816 commit ad7d78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/QrCodeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class QrCodeController
1616
{
1717
#[Route(
18-
path: 'admin/rl-2fa/qr-code/secret',
18+
path: '/%shopware_administration.path_name%/rl-2fa/qr-code/secret',
1919
name: 'rl-2fa.qr-code.secret',
2020
defaults: ['auth_required' => false, '_routeScope' => ['administration']],
2121
methods: ['GET'],

0 commit comments

Comments
 (0)