🐛 Fix bad redirect on new oops page with social login

This commit is contained in:
Pablo Alba
2024-09-12 16:11:15 +02:00
committed by Andrey Antukh
parent 017aad6454
commit 229eeae6db
5 changed files with 154 additions and 50 deletions

View File

@@ -118,7 +118,8 @@
[:div {:class (stl/css :logo-title)} (tr "labels.login")]
[:div {:class (stl/css :logo-subtitle)} (tr "not-found.login.free")]
[:& login-methods {:on-recovery-request set-section-recovery
:on-success-callback success-login}]
:on-success-callback success-login
:params {:save-login-redirect true}}]
[:hr {:class (stl/css :separator)}]
[:div {:class (stl/css :change-section)}
(tr "auth.register")