Change username deprecation notice date
This commit is contained in:
@@ -239,5 +239,5 @@ func ExtractUUID(ctx *fiber.Ctx) string {
|
|||||||
|
|
||||||
// SendUsernameDeprecation sends a deprecation warning about usernames.
|
// SendUsernameDeprecation sends a deprecation warning about usernames.
|
||||||
func SendUsernameDeprecation(ctx *fiber.Ctx) error {
|
func SendUsernameDeprecation(ctx *fiber.Ctx) error {
|
||||||
return ctx.Status(http.StatusBadRequest).SendString("Deprecated: Username support has been deprecated since April 23rd 2023, please use a valid UUID instead.")
|
return ctx.Status(http.StatusBadRequest).SendString("Deprecated: Username support has been deprecated since 23 April 2023, please use a valid UUID instead.")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user