Make magic link single use and reduce duration to 15min
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -209,7 +209,6 @@ func (r *mutationResolver) VerifyMagicLink(ctx context.Context, input types.Veri
|
||||
return nil, gqlutils.Internal(ctx)
|
||||
}
|
||||
|
||||
// FIXME: cookie domain
|
||||
w := gqlutils.HTTPResponseWriterFromContext(ctx)
|
||||
r.sessionCookie.Set(w, session)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user