1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-01-22 05:09:42 +02:00

Make confirm redirect to a sane path.

This commit is contained in:
Aaron 2015-03-15 11:56:15 -07:00
parent d8cede4292
commit e14efb13b7

View File

@ -181,7 +181,7 @@ func (c *Confirm) confirmHandler(ctx *authboss.Context, w http.ResponseWriter, r
}
ctx.SessionStorer.Put(authboss.SessionKey, key)
render.Redirect(ctx, w, r, "/", "You have successfully confirmed your account.", "")
render.Redirect(ctx, w, r, authboss.Cfg.RegisterOKPath, "You have successfully confirmed your account.", "")
return nil
}