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

lckamal - 1 year ago

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

ryanthompson - 1 year ago

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

keevitaja - 1 year ago

I use this:

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

ryanthompson - 1 year ago

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