Comments (10)
I think we should add another command to reset the email and re-confirm the user, so i will reopen this issue.
What is the point of having two different commands to change the e-mail address depending on whether or not the user has received any messages? It's a modality.
I suggest we use one command to change the address.
from selfmailbot.
Currently there is no option to reset the email. I think we should implement a command for that, like /reset
— it should completely drop the user record from the db.
Feel free to make a PR for this :-)
from selfmailbot.
@fash1k
The command is implemented.
Just type /reset
and the bot will ask you for the new email
from selfmailbot.
Unfortunately, reset command works only for non-confirmed users, e.g. when you did not received any email from the bot.
I think we should add another command to reset the email and re-confirm the user, so i will reopen this issue.
from selfmailbot.
@grepto This issue might be a challenge for you :-)
from selfmailbot.
I suggest we use one command to change the address.
I completely agree with you
from selfmailbot.
I broke my head thinking why it should be challenge. Issue look simple. I guess we'll just have to add one more command handler for /reset. This handler should not have any filters.
Something like this
dispatcher.add_handler(CommandHandler('reset', reset_email))
Maybe there's some other reason why we can't reset email for users to whom bot has already sent mail?
from selfmailbot.
Maybe there's some other reason why we can't reset email for users to whom bot has already sent mail?
We should reset user's confirmation status during email reset — otherwise there will be an ability to confirm an email, change it, and send emails to the new, unconfirmed, one.
from selfmailbot.
We should reset user's confirmation status during email reset
Agree. That's why I made a reset confirmation status for user when he use /reset
from selfmailbot.
The /reset
command is usable in production now. Thank you @grepto!
from selfmailbot.
Related Issues (10)
- Image uploading issue
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- how i can change email in bot? HOT 2
- Обработка текстовых ссылок
- Отправка галлереи фото одним сообщением с вложениями
- Dependency Dashboard
- Почему не `nginx:alpine` ? HOT 1
- Проблема с отправкой сообщений которые содержат картинки. HOT 2
- Add email confirmation via chat with bot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selfmailbot.