You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
match loginAttempt with
| Some(loginAttempt) ->
let returnPath = getQueryStringValue req "returnPath"
let returnPath = if returnPath = "" then "/" else returnPath
setAuthCookieAndRedirect id returnPath
| None -> OK <| view_login true loginForm.Email
setAuthCookieAndRedirect is passing id the function, not the user id, use the userId on loginAttempt
The text was updated successfully, but these errors were encountered:
Generator.fs
setAuthCookieAndRedirect is passing id the function, not the user id, use the userId on loginAttempt
The text was updated successfully, but these errors were encountered: