weitere Bearibeitung
This commit is contained in:
@@ -28,8 +28,8 @@ if ($tenantName === '') {
|
||||
}
|
||||
|
||||
$loginUrl = $scope === 'tenant'
|
||||
? ($tenantSlug !== '' ? tenant_url($tenantSlug, 'login') : '/')
|
||||
: '/admin/login';
|
||||
? ($tenantSlug !== '' ? tenant_url($tenantSlug, 'login') : url('/'))
|
||||
: url('/admin/login');
|
||||
$emailLabel = $scope === 'tenant' ? 'Login-E-Mail' : 'Admin-E-Mail';
|
||||
require __DIR__ . '/../partials/layout-top.php';
|
||||
?>
|
||||
@@ -46,7 +46,7 @@ require __DIR__ . '/../partials/layout-top.php';
|
||||
</section>
|
||||
|
||||
<div class="two-column">
|
||||
<form class="card form-card" method="post" action="<?= e(current_path()) ?>">
|
||||
<form class="card form-card" method="post" action="<?= e(url(current_path())) ?>">
|
||||
<?= csrf_field($csrf) ?>
|
||||
<input type="hidden" name="scope" value="<?= e($scope) ?>">
|
||||
<?php if ($tenantSlug !== ''): ?>
|
||||
|
||||
Reference in New Issue
Block a user