mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
fix rq-scheduler version, most of templates is now working, fix javascript issues
This commit is contained in:
parent
5fb7f66624
commit
df39356c4d
11 changed files with 326 additions and 149 deletions
8
proxstar/util.py
Normal file
8
proxstar/util.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import secrets
|
||||
|
||||
|
||||
def gen_password(
|
||||
length,
|
||||
charset="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*"
|
||||
):
|
||||
return "".join([secrets.choice(charset) for _ in range(0, length)])
|
||||
Loading…
Add table
Add a link
Reference in a new issue