mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 02:22:14 -05:00
[PR #541] [MERGED] Add "New Device Logged In From" email #35845
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/541
Author: @vplme
Created: 7/22/2019
Status: ✅ Merged
Merged: 7/30/2019
Merged by: @dani-garcia
Base:
master← Head:mail-new-device📝 Commits (3)
bc6a53bAdd new device email when user logs in60e39a9Move retrieve/new device from connData to separate functiondf71f57Move send device email to end of password login📊 Changes
5 files changed (+216 additions, -20 deletions)
View changed files
📝
src/api/identity.rs(+36 -19)📝
src/config.rs(+1 -0)📝
src/mail.rs(+21 -1)➕
src/static/templates/email/new_device_logged_in.hbs(+14 -0)➕
src/static/templates/email/new_device_logged_in.html.hbs(+144 -0)📄 Description
send_new_device_logged_inemail function.get_devicefunction (Is that ok?). When the device is new an email is sent.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.