(self, to)
| 859 | # List user's certificates |
| 860 | @flag.admin |
| 861 | def actionCertList(self, to): |
| 862 | back = [] |
| 863 | auth_address = self.user.getAuthAddress(self.site.address) |
| 864 | for domain, cert in list(self.user.certs.items()): |
| 865 | back.append({ |
| 866 | "auth_address": cert["auth_address"], |
| 867 | "auth_type": cert["auth_type"], |
| 868 | "auth_user_name": cert["auth_user_name"], |
| 869 | "domain": domain, |
| 870 | "selected": cert["auth_address"] == auth_address |
| 871 | }) |
| 872 | return back |
| 873 | |
| 874 | # List all site info |
| 875 | @flag.admin |
nothing calls this directly
no test coverage detected