mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
security: enforce min length for user password (#1555)
* fix typing on auth context * extract user password strength meter * fix broken useToggle method * extend form to accept arguments for validators * enforce password length on update * fix user password change form
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Plugin } from "@nuxt/types";
|
||||
import { Auth } from "@nuxtjs/auth-next";
|
||||
import { Framework } from "vuetify";
|
||||
import { icons } from "~/utils/icons";
|
||||
import { Icon } from "~/utils/icons/icon-type";
|
||||
@@ -17,6 +18,7 @@ declare module "@nuxt/types" {
|
||||
interface Context {
|
||||
$globals: Globals;
|
||||
$vuetify: Framework;
|
||||
$auth: Auth;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user