After login user again redirects to login even if login is successfu

lckamal - 5 months ago

I tried adding {% set loginForm = form('login').redirect(url('/')).get() %} but after successful login it redirects back to /login

ryanthompson - 5 months ago

Consistently? Sometimes this happens when you change code / don't reload.

keevitaja - 5 months ago

I use this:

{% set login = form('login').redirect(request_get('redirect')).get() %}

ryanthompson - 5 months ago

Should work just fine there assuming there's a redirect present? Are you still experiencing issues?