I have magic link authentication turned on and my users are complaining they have to login every couple of hours, even though I have the remember login state set to 1-year.
When I look at the user tables, the remember_logins column is None for all rows.
What happens if you put a server call right after the login splash screen that calls the server module and does a anvil.users.get_user() to get the user row, then passes the user row to anvil.users.force_login(user_row)
Will it create the entry in the remembered_logins column of the users table?
Iām juggling a few different projects and am in the midst of being nomadic ⦠so my capacity is extremely constrained to do much beyond critical/urgent tasks.
Iām sorry for resurrecting this old thread, but I just encountered the same issue. @meredydd Has this been classed as a bug? For the user, the behaviour is clearly not what the interface suggests.
The workaround does indeed successfully remember the login, but because it does not capture the value of the āRemember meā checkbox, itās not fully functional. It always remembers the login, regardless of whether the user checked the box, so now the behaviour is wrong in the other direction.
Iāve been able to recreate this. Iāll raise the issue internally to figure out the intended behavior and get a fix shipped if necessary. Iāll update this thread when I have more info!