Description
Today the only way to reset password is with admin interaction. We should automate this process so that there is no need for human intervention for users who have forgot their password.
We should set up an email server that could be used to send an email with link for reset of password using existing functionality in Gitea that is currently disabled.
Screenshot
https://www.figma.com/file/EG80RgF70SgMyewzKpb5fJ9M/Altinn-Studio?node-id=598%3A8742
Default UI in Gitea:


Navigation from/to (if relevant)
From Login page
On landing page you will have two choices:
- go back to home page by clicking on altinn icon
- Button to reset password
Technical considerations
- Configuration needs to use environment variables so secrets are not part of altinn-studio repo
- Consider if recaptcha should be enabled (to avoid spam users)
- Will email notifications with pr be included?
Acceptance criterea
- We have a secure mail service that studio and gitea can utilize
- Gitea is properly configured to use the mail service
- Forgot password functionality s working
- Confirmation mail for registering new Gitea-users is sent
Design/Functional Tasks
- [ ] Email template for the reset password functionality (if possible to modify)
Development Tasks
Test/QA
Description
Today the only way to reset password is with admin interaction. We should automate this process so that there is no need for human intervention for users who have forgot their password.
We should set up an email server that could be used to send an email with link for reset of password using existing functionality in Gitea that is currently disabled.
Screenshot
https://www.figma.com/file/EG80RgF70SgMyewzKpb5fJ9M/Altinn-Studio?node-id=598%3A8742
Default UI in Gitea:

Navigation from/to (if relevant)
From Login page
On landing page you will have two choices:
Technical considerations
Acceptance criterea
Design/Functional Tasks
- [ ] Email template for the reset password functionality (if possible to modify)Development Tasks
- [ ] Override authz e-mail templates in repository and ensure correct norwegian texts. Doc on how toTest/QA
- [ ] No mix of norwegian and english text, everything should be norwegianrefer comment