Skip to content

Commit ab066a6

Browse files
committed
recovery: fix rtp group identifier
I swear the group format changed for some reason, motivating the original change... It seems to be back to normal now, though?
1 parent 6a37ba8 commit ab066a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selfservice/blueprints/recovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def admin():
256256
"""
257257
Allow RTPs to create reset tokens for accounts.
258258
"""
259-
if "/admins/rtp" not in flask_session["userinfo"].get("groups"):
259+
if "rtp" not in flask_session["userinfo"].get("groups"):
260260
flash("Nice try. 😉 ")
261261
return redirect("/recovery")
262262

0 commit comments

Comments
 (0)