From 0b56001c311a2c9271f18e595571f348ca61593f Mon Sep 17 00:00:00 2001 From: terrtia Date: Fri, 13 Sep 2024 09:57:33 +0200 Subject: [PATCH] chg: [create user] new account qr code --- var/www/blueprints/settings_b.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/blueprints/settings_b.py b/var/www/blueprints/settings_b.py index 3e1bdb63..1d96bea2 100644 --- a/var/www/blueprints/settings_b.py +++ b/var/www/blueprints/settings_b.py @@ -279,7 +279,7 @@ def create_user_post(): edit = False ail_users.api_create_user(admin_id, request.access_route[0], request.user_agent, email, password, org_uuid, role, enable_2_fa) new_user = {'email': email, 'password': str_password, 'org': org_uuid, 'otp': enable_2_fa, 'edited': edit} - qr_code = ail_users.create_qr_code(password) + qr_code = ail_users.create_qr_code(f'{email} - {password}') return render_template("create_user.html", new_user=new_user, meta={}, qr_code=qr_code, all_roles=all_roles, acl_admin=True)