Added ip log for register and last visit

This commit is contained in:
Marcel Baumgartner
2023-07-03 20:01:34 +02:00
parent a75678d305
commit 61db49bfb7
7 changed files with 1342 additions and 172 deletions

View File

@@ -119,6 +119,10 @@ public class IdentityService
return null;
UserCache = user;
user.LastIp = GetIp();
UserRepository.Update(user);
return UserCache;
}
catch (Exception e)