]> source.dussan.org Git - gitea.git/commit
Unify password changing and invalidate auth tokens (#27625)
authorKN4CK3R <admin@oldschoolhack.me>
Sun, 4 Feb 2024 14:05:26 +0000 (15:05 +0100)
committerGitHub <noreply@github.com>
Sun, 4 Feb 2024 14:05:26 +0000 (14:05 +0000)
commit688d4a1f719d2df4d2626453f4bc042c1874a375
tree961a5bfa37fa4814bd636119f5dd3fe2c877ac3f
parentf8b471ace1b59bd3fc3a04c9ddb5f62dd1dd5396
Unify password changing and invalidate auth tokens (#27625)

- Unify the password changing code
- Invalidate existing auth tokens when changing passwords
models/auth/auth_token.go
services/user/delete.go
services/user/update.go