fixup! add google connect and disconnect to account
This commit is contained in:
parent
d006c6d413
commit
69c37f3ca5
@ -32,12 +32,12 @@
|
||||
<button type="submit" name="submit_button" disabled>Save</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="center">
|
||||
<div class="center" style="font-size: 0;">
|
||||
<?php if ($user['google_sub'] === null): ?>
|
||||
<a class="button yellow" href="<?= Container::$routeCollection->getRoute('account.googleConnect')->generateLink() ?>" title="Connect with Google">Connect with Google</a>
|
||||
<a class="button yellow marginRight" href="<?= Container::$routeCollection->getRoute('account.googleConnect')->generateLink() ?>" title="Connect with Google">Connect with Google</a>
|
||||
<?php else: ?>
|
||||
<?php if ($user['password'] !== null): ?>
|
||||
<a class="button yellow" href="<?= Container::$routeCollection->getRoute('account.googleDisconnect')->generateLink() ?>" title="Disconnect from Google">Disconnect from Google</a>
|
||||
<a class="button yellow marginRight" href="<?= Container::$routeCollection->getRoute('account.googleDisconnect')->generateLink() ?>" title="Disconnect from Google">Disconnect from Google</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<a class="button red" href="/account/delete" title="Delete account">Delete account</a>
|
||||
|
Loading…
Reference in New Issue
Block a user