Skip to content

Commit

Permalink
set dummy password on OAuth users
Browse files Browse the repository at this point in the history
  • Loading branch information
q committed Feb 26, 2025
1 parent 71a3f1a commit e8f9ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irrd/webui/auth/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ async def oauth_callback(request: Request):
email=userinfo["email"],
oidc_sub=userinfo["sub"],
name=userinfo["name"],
password=""
password=secrets.token_hex(24),
)
session_provider.session.add(user)
session_provider.session.commit()
Expand Down

0 comments on commit e8f9ecf

Please sign in to comment.