# UnlinkEmail takes a password argument but does not use it

**URL:** <https://forum.heroiclabs.com/t/unlinkemail-takes-a-password-argument-but-does-not-use-it/1762>\
**Category:** Game Design\
**Tags:** authentication, users\
**Created:** [July 5, 2021, 7:44pm UTC](https://forum.heroiclabs.com/t/unlinkemail-takes-a-password-argument-but-does-not-use-it/1762 "2021-07-05T19:44:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Mike](https://forum.heroiclabs.com/u/Mike)\
**Post date:** [July 5, 2021, 7:44pm UTC](https://forum.heroiclabs.com/t/unlinkemail-takes-a-password-argument-but-does-not-use-it/1762/1 "2021-07-05T19:44:04Z")

</div>

This appears to be somewhat useful - the user can unlink while having forgotten their password. We’re using it that way right now, but we’re worried that this may indeed be a bug, and that it will stop working this way in a future release.

Is the ignoring of the PW argument intentional (then please remove it from the API) or accidental, and we should at least ask the user for a PW to unlink, and then prepare for the bug to be fixed soon?

Cheers,  
Mike

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [July 6, 2021, 4:41pm UTC](https://forum.heroiclabs.com/t/unlinkemail-takes-a-password-argument-but-does-not-use-it/1762/2 "2021-07-06T16:41:26Z")

</div>

Hello @Mike, welcome to the forum!

This is not a bug, the password is unnecessary for unlinking despite the field being there. The reason for this is that we’re reusing the same protobuf request in a few different APIs. We’ll see if we can change it to prevent this confusion.

Thanks for your post
