Commit a9971f96 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

[AjaxController] fixed register

parent 4b1fad21
......@@ -50,7 +50,7 @@ class AjaxController(AbstractController):
user_group = vispa.config("usermanagement", "user_group", "user")
if user_group:
user_group = Group.get_or_create_by_name(session, user_group)
user_group.add_user(session, user, Group_User_Assoc.CONFIRMED)
user_group.add_user(user, Group_User_Assoc.CONFIRMED)
if vispa.config("web", "registration.autoactive", True):
return { "hash": user.hash }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment