Compare commits
No commits in common. "25cf3f103fece049f2c7d63d513d240d331ed177" and "800516c025b91b1a0d89511b5187689e4b0072ce" have entirely different histories.
25cf3f103f
...
800516c025
4
server/package-lock.json
generated
4
server/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "ifms-pti-svr",
|
||||
"version": "3.8.6",
|
||||
"version": "3.8.5",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ifms-pti-svr",
|
||||
"version": "3.8.6",
|
||||
"version": "3.8.5",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@prisma/client": "^5.7.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ifms-pti-svr",
|
||||
"version": "3.8.6",
|
||||
"version": "3.8.5",
|
||||
"description": "Servidor do Portal de TI do IFMS",
|
||||
"main": "src/index.js",
|
||||
"prisma": {
|
||||
|
|
4
web/package-lock.json
generated
4
web/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "ifms-pti",
|
||||
"version": "3.8.6",
|
||||
"version": "3.8.5",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ifms-pti",
|
||||
"version": "3.8.6",
|
||||
"version": "3.8.5",
|
||||
"dependencies": {
|
||||
"@mdi/font": "^7.3.67",
|
||||
"apollo-link-ws": "^1.0.20",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ifms-pti",
|
||||
"version": "3.8.6",
|
||||
"version": "3.8.5",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
|
|
@ -40,7 +40,7 @@ export function passwordGenerator(length = 8) {
|
|||
// )
|
||||
|
||||
// Add random characters to the password until it reaches the desired length
|
||||
for (let i = 3; i < length; i++) {
|
||||
for (let i = 4; i < length; i++) {
|
||||
password += characterSet.charAt(
|
||||
Math.floor(Math.random() * characterSet.length)
|
||||
)
|
||||
|
@ -49,7 +49,9 @@ export function passwordGenerator(length = 8) {
|
|||
// Shuffle the password
|
||||
password = password
|
||||
.split('')
|
||||
.sort(() => 0.5 - Math.random())
|
||||
.sort(function () {
|
||||
return 0.5 - Math.random()
|
||||
})
|
||||
.join('')
|
||||
|
||||
return password
|
||||
|
|
Loading…
Reference in New Issue
Block a user