fnp
/
cas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8b72e8da7de6fd423c58d39fdc6159990598098f
[cas.git]
/
src
/
accounts
/
utils.py
1
import string
2
import secrets
3
4
def make_random_password(length=12):
5
alphabet = string.ascii_letters + string.digits
6
return = ''.join(secrets.choice(alphabet) for i in range(length))
7