forked from sh-edraft.de/sh_discord_bot
Fixed user confirmation :/ #70
This commit is contained in:
@@ -74,7 +74,7 @@ class AuthController:
|
||||
await self._auth_service.add_auth_user_async(dto)
|
||||
return '', 200
|
||||
|
||||
@Route.post(f'{BasePath}/register/<id>')
|
||||
@Route.post(f'{BasePath}/register-by-id/<id>')
|
||||
async def register_id(self, id: str):
|
||||
result = await self._auth_service.confirm_email_async(id)
|
||||
return jsonify(result)
|
||||
|
Reference in New Issue
Block a user