Skip to content

Commit

Permalink
Specify a default role in invite form
Browse files Browse the repository at this point in the history
Actually in the invite form this time
  • Loading branch information
Zash committed Apr 19, 2024
1 parent 9b31894 commit 5e2e645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snikket_web/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ class InvitePost(BaseForm):
("prosody:registered", _l("Normal user")),
("prosody:admin", _l("Administrator")),
],
default="prosody:registered",
)

action_create_invite = wtforms.SubmitField(
Expand Down

0 comments on commit 5e2e645

Please sign in to comment.