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

Set up open form login system #709

Open
mikkohei13 opened this issue Jan 10, 2025 · 0 comments
Open

Set up open form login system #709

mikkohei13 opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@mikkohei13
Copy link
Member

mikkohei13 commented Jan 10, 2025

Implement login to new open observation form, which is done in task #708

If logged in

  • Save the obs into their account

If not logged in, and they give email that has an account on Laji.fi

  • Make them login before submitting. Allow all normal functionality, e.g. resetting lost password.
    • Keep form data in browser memory (only one draft is enough.), so that data is not lost if user closes browser in the process.
  • Also sllow submitting observation without logging in.
    • Inform user that observation won't go to their account if they don't login.

If not logged in, and their email doesn't have an account

  • When user submits an observation, they don't need to register, but their contact information is stored
    • Offer user to create an account, without need to provide their information again.
      • Using the email they already gave.
      • User needs to provide a password.
    • Inform user that if they want to edit their observation, they need to register first
  • If user registers later with the same email, their observations show up under their account
    • Nightly process will connects observations to accounts.
    • Inform user that observations will be visible the next day.

If not logged in, and user doesn't give email

  • Observation is saved without username.
  • User cannot edit the observation after submitting it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants