mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
User invite from server administration is not working #1929
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Opicka879 on GitHub (Jun 4, 2024).
User invite is not working via server administration. User is not made and email not sent. It is working via organization administration. It is not working on latest version and testing version. It works before.
Sorry for short description. It is hard for me to write in english. :)
@stefan0xC commented on GitHub (Jun 4, 2024):
Given the error messages in the other thread you probably have overwritten the admin templates. Cf. https://github.com/dani-garcia/vaultwarden/discussions/4605#discussioncomment-9629954
@Opicka879 commented on GitHub (Jun 4, 2024):
I don't think I'm overwriting the template. I only edited some icons and email templates. I am sending the log from the browser console and the way I start the container. Can you advise me what I am doing wrong? On version 1.30.2, sending invitations worked normally, then I don't know, I didn't need it for a long time.
Thank you.
@stefan0xC commented on GitHub (Jun 4, 2024):
Like I said you probably are overwriting the admin templates because your admin interface is requesting files that have been renamed by
d6b97090faandf05398a6b3. Cf. https://github.com/dani-garcia/vaultwarden/wiki/Translating-the-email-templatesCommit
d6b97090fa(which is shipped since1.30.4) updatedjquery-3.7.0.slim.jstojquery-3.7.1.slim.jsf05398a6b3/src/static/templates/admin/users.hbs (L143)f05398a6b3/src/static/templates/admin/organizations.hbs (L62)And if you are using the
testingimage you'll also need to changejdenticon.jstojdenticon-3.3.0.jsin those files because off05398a6b3f05398a6b3/src/static/templates/admin/users.hbs (L146)f05398a6b3/src/static/templates/admin/organizations.hbs (L65)So if you have overwritten
src/static/templates/admin/users.hbs(by placing a corresponding file in/vw-data/templates/admin/users.hbs) you need to update that file (and also/vw-data/templates/admin/organizations.hbsaccordingly).@Opicka879 commented on GitHub (Jun 4, 2024):
@stefan0xC Thank you for help. I will try to fix it.