For passkey logins, redirect to the intended url if one was used
This commit is contained in:
parent
d7897d5c66
commit
d5d7f4f4a0
@ -120,7 +120,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#passkey').on('click',function() {
|
$('#passkey').on('click',function() {
|
||||||
passkey_check('{{ csrf_token() }}','/passkey/loggedin');
|
passkey_check('{{ csrf_token() }}','{{ redirect()->intended("/passkey/loggedin")->getTargetUrl() }}');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user