Skip to content

Commit

Permalink
Merge pull request #184 from Zash/really-fix-default-invite-role
Browse files Browse the repository at this point in the history
Specify a default role in invite form
  • Loading branch information
mwild1 authored Apr 19, 2024
2 parents 9b31894 + 5e2e645 commit 7c0310a
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 7c0310a

Please sign in to comment.