This commit is contained in:
parent
6fe60b9e57
commit
8d8c2c180e
@ -13,7 +13,7 @@ name="$1"
|
||||
scopes="$2"
|
||||
email="$name@$BASE_URL"
|
||||
secret="gitea-$name"
|
||||
passwd="$(kgseckey "$secret" password)"
|
||||
passwd="$(kgseckey "$secret" password || true)"
|
||||
|
||||
if [ -z "$passwd" ]; then
|
||||
passwd="$(openssl rand -hex 32)"
|
||||
|
Loading…
Reference in New Issue
Block a user