refactor(auth): replace dashboard sessions with stateless tokens and session control (#6329)
* refactor(auth): replace dashboard sessions with stateless tokens * feat(auth): harden session issuance and distributed enforcement * fix(proxy): preserve trusted proxy compatibility defaults * refactor: address dashboard auth review feedback * refactor: remove classic frontend and flatten web app
This commit is contained in:
@@ -347,10 +347,10 @@ func genStripeLink(referenceId string, customerId string, email string, amount i
|
||||
|
||||
// Use custom URLs if provided, otherwise use defaults
|
||||
if successURL == "" {
|
||||
successURL = paymentReturnPath("/console/log")
|
||||
successURL = paymentReturnPath("/usage-logs")
|
||||
}
|
||||
if cancelURL == "" {
|
||||
cancelURL = paymentReturnPath("/console/topup")
|
||||
cancelURL = paymentReturnPath("/wallet")
|
||||
}
|
||||
|
||||
params := &stripe.CheckoutSessionParams{
|
||||
|
||||
Reference in New Issue
Block a user