diff --git a/flake.lock b/flake.lock index 88330bf..a30f250 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -20,18 +20,15 @@ }, "nixpkgs": { "locked": { - "lastModified": 1669833724, - "narHash": "sha256-/HEZNyGbnQecrgJnfE8d0WC5c1xuPSD2LUpB6YXlg4c=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "4d2b37a84fad1091b9de401eb450aae66f1a741e", - "type": "github" + "lastModified": 1701282334, + "narHash": "sha256-MxCVrXY6v4QmfTwIysjjaX0XUhqBbxTWWB4HXtDYsdk=", + "path": "/nix/store/j8han9cf3g8vba52yhiklaa6a500pcbv-source", + "rev": "057f9aecfb71c4437d2b27d3323df7f93c010b7e", + "type": "path" }, "original": { - "owner": "NixOS", - "ref": "22.11", - "repo": "nixpkgs", - "type": "github" + "id": "nixpkgs", + "type": "indirect" } }, "root": { diff --git a/flake.nix b/flake.nix index 8f53de6..6b8a306 100644 --- a/flake.nix +++ b/flake.nix @@ -1,8 +1,8 @@ { - description = "Cerberus Dev Environment 22.11"; + description = "Cerberus Dev Environment 23.05"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/22.11"; + nixpkgs.url = "nixpkgs"; flake-utils.url = "github:numtide/flake-utils"; }; diff --git a/src/routes/register/+page.svelte b/src/routes/register/+page.svelte index 635d1c6..92dd78e 100644 --- a/src/routes/register/+page.svelte +++ b/src/routes/register/+page.svelte @@ -15,11 +15,11 @@ if (data.get('password') !== data.get('password2')) { ui_msg = 'Password mismatch!'; cancel(); - } + } else if (!_password_req(data.get('password'))) { ui_msg = 'Password must contain lower,upper,digit,special'; cancel(); - } + } else ui_msg = 'Thinking about it...'; // if (!cl_discord_code) { // ui_msg = 'Make sure the discord code is in the URL!'; @@ -113,7 +113,7 @@ form="regform" name="username" type="text" - pattern="[a-z]+[0-9]+" + pattern="[a-z]+[0-9]*" required />