mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Skip intermediate login page with single provider
This commit is contained in:
16
resources/views/auth/login-redirect.blade.php
Normal file
16
resources/views/auth/login-redirect.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ config('app.lang') }}"
|
||||
dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id="loginredirect-wrapper" style="display:none">
|
||||
@include('auth.parts.login-form-' . $authMethod)
|
||||
</div>
|
||||
|
||||
<script nonce="{{ $cspNonce }}">
|
||||
window.onload = function(){document.forms['login-form'].submit()};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user