Skip to content

Commit

Permalink
Merge pull request #781 from nicomollet/patch-1
Browse files Browse the repository at this point in the history
Fix oauth login/signup urls
  • Loading branch information
XzAeRo committed Oct 28, 2021
2 parents cc2c451 + 8970817 commit 3a1e018
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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(); ?>
4 changes: 2 additions & 2 deletions frontend/modules/user/views/sign-in/signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<h4 class="text-muted text-center"><?php echo Yii::t('frontend', 'Sign up 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 @@ -48,4 +48,4 @@
</div>
</div>
</div>
<?php ActiveForm::end(); ?>
<?php ActiveForm::end(); ?>

0 comments on commit 3a1e018

Please sign in to comment.