|
4 | 4 | # --- BEGIN_HEADER ---
|
5 | 5 | #
|
6 | 6 | # reqpwreset - Account password reset request backend
|
7 |
| -# Copyright (C) 2003-2023 The MiG Project lead by Brian Vinter |
| 7 | +# Copyright (C) 2003-2025 The MiG Project by the Science HPC Center at UCPH |
8 | 8 | #
|
9 | 9 | # This file is part of MiG.
|
10 | 10 | #
|
@@ -135,16 +135,16 @@ def main(client_id, user_arguments_dict, environ=None):
|
135 | 135 | (configuration.user_mig_oid_title, auth_type)}
|
136 | 136 | output_objects.append(migoidc_link)
|
137 | 137 | elif auth_flavor == AUTH_MIG_CERT:
|
138 |
| - extcert_url = os.path.join(os.path.dirname(bin_url), 'extcert.py') |
139 |
| - extcert_link = {'object_type': 'link', 'destination': extcert_url, |
| 138 | + migcert_url = os.path.join(os.path.dirname(bin_url), 'migcert.py') |
| 139 | + migcert_link = {'object_type': 'link', 'destination': migcert_url, |
140 | 140 | 'text': 'Change %s %s password' %
|
141 | 141 | (configuration.user_mig_cert_title, auth_type)}
|
142 |
| - output_objects.append(extcert_link) |
| 142 | + output_objects.append(migcert_link) |
143 | 143 | else:
|
144 | 144 | form_method = 'post'
|
145 | 145 | csrf_limit = get_csrf_limit(configuration)
|
146 | 146 | fill_helpers = {'form_method': form_method, 'csrf_field': csrf_field,
|
147 |
| - 'csrf_limit': csrf_limit, |
| 147 | + 'csrf_limit': csrf_limit, 'cert_id': '', |
148 | 148 | 'short_title': configuration.short_title}
|
149 | 149 | target_op = "reqpwresetaction"
|
150 | 150 | csrf_token = make_csrf_token(configuration, form_method, target_op,
|
|
0 commit comments