Skip to content

Commit

Permalink
Merge pull request #183 from Zash/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 041f262 + d488376 commit 1cac19e
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 @@ -80,6 +80,7 @@ class EditUserForm(BaseForm):
("prosody:registered", _l("Normal user")),
("prosody:admin", _l("Administrator")),
],
default="prosody:registered",
)

action_save = wtforms.SubmitField(
Expand Down

0 comments on commit 1cac19e

Please sign in to comment.