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