implement redirect after login

This commit is contained in:
bence committed 2023-04-16 17:48:12 +02:00
1 parent 54a4ee4d60
commit 3e4c24bbc1
6 files changed
+55 -32

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
@section(main)
<h2>Sign up</h2>
<div class="box">
<form id="googleSignupForm" action="/signup/google" method="post" data-redirect-on-success="/">
<form id="googleSignupForm" action="/signup/google" method="post" data-redirect-on-success="<?= $redirectUrl ?>">
<?php if ($found): ?>
<p class="justify">Please confirm that you link your account to your Google account.</p>
<?php else: ?>