hrefs auf getUrl umgebaut

This commit is contained in:
Spitzer_Daniel
2023-08-28 18:08:03 +02:00
parent 2e5fd0b947
commit 56f5666cb3
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ if ($twofa == 0) {
<button id="submit" type="submit" data-codetype="<?= $twofa ?>"
class="btn btn-primary">Speichern
</button>
<a href="/UserProfile">
<a href="<?= self::getUrl("UserProfile") ?>">
<button type="button" class="btn btn-secondary">Abbrechen</button>
</a>
</div>

View File

@@ -168,7 +168,7 @@ if ($userprofile->twofactor == 0) {
</div>
<div class="col-lg-7">
<?= $twoFactorbtn ?>
<a href="/UserProfile">
<a href="<?= self::getUrl("UserProfile") ?>">
<button type="button" class="btn btn-secondary mb-3">Abbrechen</button>
</a>
</div>