Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Автоматическая перевыдача cookie #17

Open
3 tasks
Zamelane opened this issue Oct 5, 2023 · 1 comment
Open
3 tasks
Assignees
Labels
(•_•) New functionals

Comments

@Zamelane
Copy link
Contributor

Zamelane commented Oct 5, 2023

Если пользователь уже авторизирован в системе, но в первый раз открывает бота с момента запуска серверов, нужно попробовать перевыпустить ему токен с соответствующими сообщениями в чат

  • Проверять время последней выдачи куки
  • Автоматически перевыпускать куку, если прошло больше недели
  • Добавить поле lastTimeCookie в таблицу diaryUser для отслеживания даты последнего изменения куки
@Zamelane Zamelane self-assigned this Oct 5, 2023
@scffs scffs added the (•_•) New functionals label Oct 6, 2023
@scffs
Copy link
Contributor

scffs commented Oct 6, 2023

@Zamelane, сделай, пожалуйста, нормальный таск-лист
Делается через - [ ] Сделать что-то....

@Zamelane Zamelane changed the title feature: перевыдача токена при первом заходе в бота feature: Автоматическая перевыдача cookie Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(•_•) New functionals
Projects
Status: Backlog bot
Development

No branches or pull requests

2 participants