(self, post_data: object)
| 176 | ) |
| 177 | |
| 178 | async def setup(self, post_data: object) -> AuthServiceResult: |
| 179 | if not self.can_skip_default_password_auth(): |
| 180 | return self.error("Setup without password is not enabled") |
| 181 | if not await self.is_setup_required(): |
| 182 | return self.error("Setup is not required") |
| 183 | |
| 184 | return await self.complete_setup(post_data) |
| 185 | |
| 186 | async def setup_authenticated( |
| 187 | self, |
no test coverage detected