smpallen99/coherence

Manual user login doing redirect twice.

pradosh987 opened this issue · 1 comments

I am trying to do manual login using but its doing redirect twice. First redirect has all flash content and second one doesn't.

Coherence.Config.auth_module()
|> apply(Coherence.Config.create_login(), [conn, user, [id_key: Coherence.Config.schema_key()]])
|> redirect(to: "/")

Solved it. It is an issue with safari. If I do redirect in tab which in pinned, it does it twice, in normal tab it works find. Stupid issue wasted lot of my time.