Skip to content

Commit

Permalink
Fix oauth urls
Browse files Browse the repository at this point in the history
`user/auth` doesn't work, gives 404.
Had to replace by `sign-in/oauth`
  • Loading branch information
nicomollet authored Oct 28, 2021
1 parent cc2c451 commit 305b48b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/modules/user/views/sign-in/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<h4 class="text-muted text-center"><?php echo Yii::t('frontend', 'Log in with') ?></h4>

<?php $authAuthChoice = yii\authclient\widgets\AuthChoice::begin([
'baseAuthUrl' => ['site/auth']
'baseAuthUrl' => ['sign-in/oauth']
]); ?>
<ul class="list-inline d-flex justify-content-center">
<?php foreach ($authAuthChoice->getClients() as $client) : ?>
Expand All @@ -57,4 +57,4 @@
</div>
</div>
</div>
<?php ActiveForm::end(); ?>
<?php ActiveForm::end(); ?>

0 comments on commit 305b48b

Please sign in to comment.