mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
increase rounds to Google max
This commit is contained in:
@@ -1473,8 +1473,8 @@ def addDelegates(users, i):
|
|||||||
body={'delegateEmail': delegate})
|
body={'delegateEmail': delegate})
|
||||||
|
|
||||||
|
|
||||||
def gen_sha512_hash(password):
|
def gen_sha512_hash(password, rounds=10000):
|
||||||
return sha512_crypt.hash(password, rounds=5000)
|
return sha512_crypt.hash(password, rounds=rounds)
|
||||||
|
|
||||||
|
|
||||||
def printShowDelegates(users, csvFormat):
|
def printShowDelegates(users, csvFormat):
|
||||||
|
|||||||
@@ -893,7 +893,6 @@ RT_TAG_REPLACE_PATTERN = re.compile(r'{(.*?)}')
|
|||||||
LOWERNUMERIC_CHARS = string.ascii_lowercase + string.digits
|
LOWERNUMERIC_CHARS = string.ascii_lowercase + string.digits
|
||||||
ALPHANUMERIC_CHARS = LOWERNUMERIC_CHARS + string.ascii_uppercase
|
ALPHANUMERIC_CHARS = LOWERNUMERIC_CHARS + string.ascii_uppercase
|
||||||
URL_SAFE_CHARS = ALPHANUMERIC_CHARS + '-._~'
|
URL_SAFE_CHARS = ALPHANUMERIC_CHARS + '-._~'
|
||||||
PASSWORD_SAFE_CHARS = ALPHANUMERIC_CHARS + string.punctuation + ' '
|
|
||||||
FILENAME_SAFE_CHARS = ALPHANUMERIC_CHARS + '-_.() '
|
FILENAME_SAFE_CHARS = ALPHANUMERIC_CHARS + '-_.() '
|
||||||
|
|
||||||
FILTER_ADD_LABEL_TO_ARGUMENT_MAP = {
|
FILTER_ADD_LABEL_TO_ARGUMENT_MAP = {
|
||||||
|
|||||||
Reference in New Issue
Block a user