feat: Begins po detail.
This commit is contained in:
@@ -49,7 +49,7 @@ struct UserFormCTX: Content {
|
||||
htmxForm: .init(
|
||||
formClass: "user-form",
|
||||
formId: "user-form",
|
||||
htmxTargetUrl: .post("/login\(next != nil ? "?next=\(next!)" : "")"),
|
||||
htmxTargetUrl: .post("/login\((next != nil && next != "/") ? "?next=\(next!)" : "")"),
|
||||
htmxTarget: "body",
|
||||
htmxPushUrl: true,
|
||||
htmxResetAfterRequest: true,
|
||||
|
||||
Reference in New Issue
Block a user